所有版本 v0.1.36820 十月 2026渲染, JavaScript 与 JIT, Web API 与 DOM, 隐私与 Shields, 开发者工具, 标签页与界面 订阅

版本说明以英文撰写。

A site's own security rules are kept the whole time the page runs, Trusted Types, a map of every unsafe write in DevTools, and animations from script

Sites can tell the browser which code they are willing to run, through a Content-Security-Policy. Floati kept those rules for the scripts a page arrives with; now it keeps them for everything the page does afterwards. Code built from text (eval, new Function, a timer given a string), inline event handlers and scripts that another script injects are refused when the site's rules say so, and the page hears about each refusal as it would in the reference browser. Trusted Types, the strongest of these rules, is new: a site that requires it gets HTML and script sinks that only take checked values. What a site's rules refused is listed in plain words in the Explain panel, and DevTools gains an XSS risk map: every string a page writes into HTML or code, at the line that wrote it, with the ones carrying text from the address bar at the top. Pages can also animate from script now (element.animate and the whole Web Animations API, scroll-driven timelines included), and several long-standing script bugs are fixed. Measured against the reference browser, the Web APIs surface goes from 62.5 to 63.8 percent, and every test site stays free of script errors the reference browser does not also show.

15 of 15Run-time policy checks matching the reference
26 of 26Trusted Types checks matching the reference
30 of 32 (two follow the standard's property order)Web Animations checks matching the reference
亮点6

The site's own rules, kept the whole time

之前之后
之前: a page reporting what its own security policy refused
之前
之后: a page reporting what its own security policy refused
之后 · v0.1.368
同一页面在参考浏览器中的样子
参考浏览器

A Content-Security-Policy is a list, written by the site, of the code it is willing to run. It is the main defense against cross-site scripting: when an attacker manages to put script into a page, the site's own policy is what stops it. Floati enforced it for the scripts in the page's HTML; everything the page did later ran unchecked. Now every way of turning text into code answers to the policy: eval and new Function throw the reference browser's EvalError, a timer given a string is refused, an inline handler such as onclick="..." is refused when it would first run, and a script that another script injects is checked against the policy's nonces, hashes, hosts and 'strict-dynamic'. Each refusal reaches the page as a securitypolicyviolation event at the element involved, and as a report to any ReportingObserver, with the same directive, sample and disposition the reference browser gives; a report-only policy reports and refuses nothing. In the picture, the page's own security report: before, the old engine ran the code the site forbade.

a page reporting what its own security policy refused

Run-time policy checks matching the reference15 of 15Scripts inserted by every insertion method14 of 14

Trusted Types

之前之后
之前: a page that requires Trusted Types: raw HTML and code from text are refused
之前
之后: a page that requires Trusted Types: raw HTML and code from text are refused
之后 · v0.1.368
同一页面在参考浏览器中的样子
参考浏览器

Trusted Types is the policy a site uses to say that no raw string may become HTML or code on its pages: innerHTML, document.write, insertAdjacentHTML, a script's text or source, an iframe's srcdoc, eval and the rest take only values a policy the site wrote has checked. Floati now has the whole of it: trustedTypes and its policies, TrustedHTML, TrustedScript and TrustedScriptURL, the default policy that is asked about every string, the list of policy names a site allows, and every sink, with the reference browser's errors and violation reports. eval given a TrustedScript runs it.

a page that requires Trusted Types: raw HTML and code from text are refused

Trusted Types checks matching the reference26 of 26

See what a site's rules protected you from

之前之后
之前: the Explain panel's Page policy enforced card, for the same page
之前
之后: the Explain panel's Page policy enforced card, for the same page
之后 · v0.1.368

The Explain panel's Page policy enforced card listed only the scripts refused while the page loaded. It now lists everything the site's own rules refused while you used the page, each in plain words: code built from text, an inline event handler, a script injected by another script, unchecked HTML or script written into the page, an unapproved script policy, or a script file and the site it came from. A page that retries the same thing in a loop is one line.

the Explain panel's Page policy enforced card, for the same page

An XSS risk map in DevTools

The XSS risk map recording a shop page reached by a crafted link
The XSS risk map recording a shop page reached by a crafted link

The Privacy panel can now record every string a page writes into something that parses HTML or runs code: innerHTML and outerHTML, insertAdjacentHTML, document.write, DOMParser, a script's text and source, an iframe's srcdoc, a javascript: link, an event handler attribute, eval, new Function and string timers. Each write is shown at the line of the page's own code that made it (one click opens it), merged with others from the same place, and graded: from the address bar (the string carries text from the link's query or fragment, or window.name, into HTML or code: the shape of a DOM XSS, where whoever crafts the link writes into your page), contains script, code from text, HTML, or plain text that textContent would handle safely. Nothing is blocked while it records, and it costs nothing when it is off. No other browser's developer tools show this.

Animations from script

之前之后
之前: a toast, a progress bar and a chip animated with element.animate, paused part way
之前
之后: a toast, a progress bar and a chip animated with element.animate, paused part way
之后 · v0.1.368
同一页面在参考浏览器中的样子
参考浏览器

element.animate() and the Web Animations API are real: Animation, KeyframeEffect, both keyframe forms with offsets and easing, timing with delays, iterations, direction and fill, play, pause, finish, cancel, reverse, seeking and playback rate, the ready and finished promises, finish and cancel events, getAnimations, commitStyles, and timelines that follow scrolling (ScrollTimeline, ViewTimeline). An animation is sampled by the renderer on the page's clock, so it plays without any script running per frame, and a scroll-driven one follows the scroll frame by frame. A 2D transform now pivots on its transform-origin (it used the centre).

a toast, a progress bar and a chip animated with element.animate, paused part way

Web Animations checks matching the reference30 of 32 (two follow the standard's property order)

Script fixes found on the way

setTimeout('code') ran nothing (it threw). A script inserted by append, prepend, insertBefore, before, after, replaceChildren, replaceWith or insertAdjacentElement ran late instead of at once, a script given its text after it was inserted never ran, and document.currentScript was empty inside one. A page that wrapped the innerHTML setter and called the original wrote nothing, and a setter wrapped with the original getter was skipped. DOMParser kept its method on each instance. Error stacks stopped at a getter or setter instead of continuing into the code that read or wrote the property, and DOM frames are named by their interface. Every one of these now behaves as the reference browser does.

Stacks through accessors matching the reference6 of 7

改动内容

8 项改动
  1. 隐私与 ShieldsA site's Content-Security-Policy is kept while the page runs: eval, string timers, inline handlers and injected scripts refused as the site asks; every refusal reported to the page.
  2. 隐私与 ShieldsTrusted Types: policies, the default policy, and HTML and script sinks that take only checked values when a site requires them.
  3. 隐私与 ShieldsThe Explain panel lists, in plain words, everything the site's own rules refused while you used the page.
  4. 标签页与界面DevTools: an XSS risk map of every HTML and script sink write, at its line, graded by risk.
  5. JavaScript 与 JITWeb Animations: element.animate, the play state machine, promises and events, scroll-driven timelines, played by the renderer.
  6. 渲染Error stacks continue through getters and setters, as in the reference browser.
  7. Web API 与 DOMFixed: string timers, scripts inserted by any method run at once, wrapped setters, dynamic import on sites that forbid eval, DOMParser, CryptoKey objects.
  8. Web API 与 DOMWeb APIs measured against the reference browser: 62.5 -> 63.8 percent of the surface; all 14 test sites free of reference-only script errors.

在你的浏览器中试试

每项检查都在你正在阅读的浏览器中实时运行。不会发送任何内容。

检查你的浏览器Floati
a Trusted Types policy makes TrustedHTML检查中是
a violation event can be built by script检查中是
ReportingObserver and the CSP report body exist检查中是
the original innerHTML setter, called by a wrapper, still writes检查中是
a script inserted with append runs at once检查中是
a script given its text after insertion runs then检查中是
document.currentScript inside an inserted script检查中是
a stack taken in a setter names its caller检查中是
Trusted Types: script, script URL and the sink map检查中是
DOMParser.parseFromString lives on the prototype检查中是
通过 10 / 10
v0.1.368 之后的所有内容,集中在一处

版本

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

十一月2026 · 4 个版本

十月2026 · 7 个版本

九月2026 · 10 个版本

八月2026 · 26 个版本

18218 八月Now it also spots the audio version of that tracking trickv0.1.182 · 隐私与 Shields 17918 八月Longer videos now play all the way throughv0.1.179 · 媒体 17518 八月The browser you install now plays video, built entirely from its own codev0.1.175 · 媒体 17218 八月Split-motion video decodes: the VP8 inter path is complete, real WebM streams bit-exactv0.1.172 · 媒体 17116 八月The engine decodes real video: VP8 interframes land, bit-exact against libvpxv0.1.171 · 媒体 16916 八月Decoded frames reach the screen: drawImage(VideoFrame) paints real video + animated GIF onto a canvasv0.1.169 · 媒体 16816 八月The engine decodes video: WebCodecs VideoDecoder gets real VP8 keyframe teethv0.1.168 · 媒体 16715 八月More real media formats: FLAC-in-Ogg, an ImageDecoder, and an MSE timelinev0.1.167 · 媒体 16615 八月WebCodecs and a real FLAC decoder: the engine decodes audio on its ownv0.1.166 · 媒体 16115 八月GPU 3D transforms: every container renders on the devicev0.1.161 · 渲染 16015 八月GPU drop-shadow: the CSS filter set is complete on the devicev0.1.160 · Web API 与 DOM 13113 八月Brotli, from scratch: the engine now speaks the web's best compressionv0.1.131 · 渲染 12913 八月VP9 video in fragmented MP4 now actually plays, not just parsesv0.1.129 · 媒体 12513 八月fMP4 / MP4 streaming: the engine parses the container the web actually servesv0.1.125 · 媒体 1117 八月Web Audio dynamics compression (DynamicsCompressorNode)v0.1.111 · 媒体 1107 八月Web Audio 3D spatial panning (PannerNode) - synthesis surface completev0.1.110 · 媒体 1097 八月Web Audio convolution reverb + stereo sample playbackv0.1.109 · 媒体 1087 八月Stereo Web Audio: real panning and per-channel routingv0.1.108 · 媒体 1057 八月HTTP/2: the modern web transport, from scratchv0.1.105 · 媒体 1027 八月Modern JS built-ins, and an honest look at where the whole thing stands: 50v0.1.102 · JavaScript 与 JIT 976 八月Real captionsv0.1.97 · 渲染 966 八月Stateful audio DSP: filters, delay and waveshapingv0.1.96 · 媒体 956 八月Real, deterministic Web Audio (it used to be a silent stub)v0.1.95 · 媒体 866 八月Real cryptographic hashing, and twenty more Web APIs that actually do somethingv0.1.86 · 渲染 815 八月Building an object stopped re-allocating its keysv0.1.81 · JavaScript 与 JIT 661 八月The worst score on the board turned out to be a cookie bannerv0.1.66 · 渲染9

七月2026 · 10 个版本