所有版本 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 · 3 个版本

十月2026 · 7 个版本

九月2026 · 14 个版本

32026 九月Pages no longer freeze while a script waits on the networkv0.1.320 · JavaScript 与 JIT 31725 九月Closer to the reference browser, and no more address bar tricksv0.1.317 · Web API 与 DOM 30924 九月Pages arrive like they do in the reference browser, in a fraction of the memoryv0.1.309 · 网络13 30322 九月HTTP/3 is on, and it is ours: the fastest web protocol, built from scratchv0.1.303 · 网络 30222 九月The site you open stays your business, and the browser checks every certificate itselfv0.1.302 · 隐私与 Shields 30019 九月Reads the newest web compression, reuses secure connections, and remembers where sites livev0.1.300 · 记忆与阅读 29919 九月Pages start loading sooner: smarter connections and a faster path onto slow networksv0.1.299 · 网络 29516 九月Class-based JavaScript runs dramatically faster: calling a method through a list of objects is now many times quickerv0.1.295 · JavaScript 与 JIT 29416 九月Integer, bitwise and pixel-processing JavaScript runs a lot faster, and the browser still proves every shortcut before it trusts itv0.1.294 · JavaScript 与 JIT 29316 九月Class-based and object-heavy JavaScript runs dramatically faster, with speed the browser proves before it trustsv0.1.293 · JavaScript 与 JIT 29216 九月Recursive JavaScript runs dramatically faster, so the heaviest in-page computation feels quickv0.1.292 · JavaScript 与 JIT 27811 九月A tracker can no longer follow you from one site to the nextv0.1.278 · 渲染 27610 九月Security you can check: an honest ledger, a referrer firewall, and mixed content shut downv0.1.276 · 隐私与 Shields 2122 九月Pages you render with Floati's own engine appear right away nowv0.1.212 · 渲染

八月2026 · 14 个版本

七月2026 · 4 个版本