所有版本 v0.1.38225 十月 2026渲染, JavaScript 与 JIT, Web API 与 DOM, 记忆与阅读 订阅

版本说明以英文撰写。

Closed tabs give their memory back, and XML pages read as XML

Two things in this release. First, memory after a tab closes. Floati frees memory the moment nothing uses it, and a separate collector finds loops of objects that only point at each other. That collector only looked at loops whose last outside link was cut in an object or a list. Modern app pages, React ones especially, also make loops whose last link was a local variable inside a function call, and those were never found: a code host's page kept its whole page, about 83 MB, after it was closed. Floati now notes any object that loses a reference and stays alive, which is how the reference collectors of this kind work (Bacon and Rajan, 2001), and that page now leaves about 46 MB, the browser's own shared caches. Script speed on real pages is unchanged. Second, the web platform. Pages and frames served as XML (XHTML, SVG images, feeds) are now read by Floati's own XML parser, so names keep their case and namespaces and a broken file shows the error the way the reference browser does; DOMParser reads XML too, CompressionStream and DecompressionStream work, and text nodes, names and namespaced lookups follow the current DOM rules. The DOM test score is now 96.3 percent of what the reference browser passes, up from 95.5.

4003 -> 0A code host's page, references left on its page after close
95.5 -> 96.3 percentDOM tests passed, of those the reference browser passes
亮点2

A closed tab gives back what it held

Floati counts references: when nothing points at an object any more it is freed at once, with no pauses. A loop of objects that only point at each other never reaches zero, so a separate collector looks for such loops, starting from places where a link was cut. It used to start only from links cut inside an object or a list. React keeps its work in rings of small objects (each component's hooks, effects and pending updates), and the last outside link to such a ring is often a local variable in a function that has returned, so the ring was never looked at. Found by recording a code host's page and cutting its 900 KB of script down, automatically, until only the part that still leaked was left: React drawing the page. Now any object that loses a reference and stays alive is noted, once, as a place the collector may start. Measured on and off on the same pages.

A code host's page, references left on its page after close4003 -> 0Same page, memory left after closeabout 83 -> 46 MB (the browser's shared caches)Script time, 11 real pagesunchangedSettled memory while a page is openunchanged

XML pages and frames are read as XML

A page or frame served as XML (an XHTML document, an SVG image, a feed) used to be read as HTML: names lost their case, namespaces were dropped, and a broken file looked fine. Floati now has its own XML parser, with namespaces, entities, CDATA and processing instructions, and it shows a broken file's first error the way the reference browser does. DOMParser uses it for every XML type and rejects types it does not know.

DOM tests passed, of those the reference browser passes95.5 -> 96.3 percentCreating elements with namespaces in XML documents202 -> 584 of 584

改动内容

12 项改动
  1. 记忆与阅读A closed tab now gives back the memory of loops of objects whose last outside link was a local variable (React's hook, effect and update lists): a code host's page leaves about 46 MB after close instead of 83 MB, with script time unchanged on 11 real pages.
  2. 记忆与阅读When the list of places the collector starts from is full, an object that could not be added is no longer marked as added, so it can still be collected later.
  3. 记忆与阅读A collection that is allowed to look at only part of the memory takes no more starting places than it can look at, and leaves the rest for the next one; handed too many, it freed nothing.
  4. 记忆与阅读A new measuring tool counts the references left on a page after it closes, and the leak report names exactly what holds memory that should have gone.
  5. 渲染CompressionStream and DecompressionStream (gzip, deflate and raw deflate) run on Floati's own compressor and reject damaged input with the reference browser's errors.
  6. 渲染Text and comment nodes no longer answer to element-only members such as getAttribute, as in the reference browser.
  7. Web API 与 DOMElement, attribute and namespace names follow the current DOM rules when a script creates or sets them.
  8. Web API 与 DOMDOMParser reads XML, XHTML and SVG with Floati's own XML parser (namespaces, entities, CDATA, processing instructions) and shows a broken file's first error; unknown types are refused.
  9. 渲染getElementsByTagNameNS matches the namespace and the exact name, so an RSS feed's namespaced tags are found.
  10. 渲染Pages served as XML (XHTML, SVG, feeds) are read as XML documents, with their styles and scripts.
  11. Web API 与 DOMFrames that load an XML file get a real XML document, as scripts in the parent page expect.
  12. JavaScript 与 JITGroundwork, still switched off: when functions are compiled only on their first call, a function called right where it is defined is compiled at once (a news site's bot check: 40 percent slower before, 17 percent now).
v0.1.382 之后的所有内容,集中在一处

版本

v0.1.0 - 0.1.9 · 10 七月 2026418v0.1.427 · 25 十一月 2026

十一月2026 · 1 个版本

十月2026 · 7 个版本

九月2026 · 3 个版本

八月2026 · 18 个版本

14614 八月WebAssembly modules can call JavaScriptv0.1.146 · 渲染 14414 八月Exact tiling: percentage columns never leave a seamv0.1.144 · JavaScript 与 JIT 13514 八月DevTools automation: the methods a real driver reaches forv0.1.135 · Web API 与 DOM 12413 八月Puppeteer queries elements end to end - the first floor moves the overallv0.1.124 · 渲染 12213 八月Time-travel scrubbing: jump to any pause on the timelinev0.1.122 · 开发者工具 12113 八月Time-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · 标签页与界面 12013 八月DevTools: a WebSocket transport, so external tools can attachv0.1.120 · 开发者工具 11913 八月DevTools: a Sources panel with a clickable line gutterv0.1.119 · 标签页与界面 11811 八月DevTools debugger: step over, into and outv0.1.118 · JavaScript 与 JIT 1177 八月DevTools breakpoints snap to the nearest real linev0.1.117 · 开发者工具 1167 八月DevTools debugger: source-line breakpointsv0.1.116 · 开发者工具 1157 八月DevTools debugger: evaluate expressions at the breakpointv0.1.115 · 开发者工具 1147 八月DevTools debugger: pause on exceptionsv0.1.114 · 开发者工具 1137 八月Visual DevTools: a live Console REPL and a Debugger panelv0.1.113 · 标签页与界面 1127 八月DevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · 开发者工具 1006 八月The browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · 开发者工具 986 八月The engine speaks the DevTools Protocolv0.1.98 · 开发者工具 704 八月One press, and you are on the new versionv0.1.70 · 标签页与界面

七月2026 · 3 个版本