Tất cả phiên bản v0.1.36820 Tháng 10 2026Hiển thị, JavaScript và JIT, API web và DOM, Quyền riêng tư và Shields, DevTools, Thẻ và giao diện Feed

Ghi chú phát hành được viết bằng tiếng Anh.

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
Điểm nổi bật6

The site's own rules, kept the whole time

TrướcSau
Trước: a page reporting what its own security policy refused
Trước
Sau: a page reporting what its own security policy refused
Sau · v0.1.368
Cùng trang đó trên trình duyệt tham chiếu
Trình duyệt tham chiếu

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

TrướcSau
Trước: a page that requires Trusted Types: raw HTML and code from text are refused
Trước
Sau: a page that requires Trusted Types: raw HTML and code from text are refused
Sau · v0.1.368
Cùng trang đó trên trình duyệt tham chiếu
Trình duyệt tham chiếu

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

TrướcSau
Trước: the Explain panel's Page policy enforced card, for the same page
Trước
Sau: the Explain panel's Page policy enforced card, for the same page
Sau · 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

TrướcSau
Trước: a toast, a progress bar and a chip animated with element.animate, paused part way
Trước
Sau: a toast, a progress bar and a chip animated with element.animate, paused part way
Sau · v0.1.368
Cùng trang đó trên trình duyệt tham chiếu
Trình duyệt tham chiếu

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

Những gì đã thay đổi

8 thay đổi
  1. Quyền riêng tư và 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. Quyền riêng tư và ShieldsTrusted Types: policies, the default policy, and HTML and script sinks that take only checked values when a site requires them.
  3. Quyền riêng tư và ShieldsThe Explain panel lists, in plain words, everything the site's own rules refused while you used the page.
  4. Thẻ và giao diệnDevTools: an XSS risk map of every HTML and script sink write, at its line, graded by risk.
  5. JavaScript và JITWeb Animations: element.animate, the play state machine, promises and events, scroll-driven timelines, played by the renderer.
  6. Hiển thịError stacks continue through getters and setters, as in the reference browser.
  7. API web và DOMFixed: string timers, scripts inserted by any method run at once, wrapped setters, dynamic import on sites that forbid eval, DOMParser, CryptoKey objects.
  8. API web và 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.

Thử trong trình duyệt của bạn

Mỗi phép kiểm tra chạy trực tiếp trong trình duyệt bạn đang đọc. Không có gì được gửi đi đâu cả.

Kiểm traTrình duyệt của bạnFloati
a Trusted Types policy makes TrustedHTMLĐang kiểm traCó
a violation event can be built by scriptĐang kiểm traCó
ReportingObserver and the CSP report body existĐang kiểm traCó
the original innerHTML setter, called by a wrapper, still writesĐang kiểm traCó
a script inserted with append runs at onceĐang kiểm traCó
a script given its text after insertion runs thenĐang kiểm traCó
document.currentScript inside an inserted scriptĐang kiểm traCó
a stack taken in a setter names its callerĐang kiểm traCó
Trusted Types: script, script URL and the sink mapĐang kiểm traCó
DOMParser.parseFromString lives on the prototypeĐang kiểm traCó
Đạt 10 / 10
Mọi thứ kể từ v0.1.368 ở một nơi

Phiên bản

v0.1.0 - 0.1.9 · 10 Tháng 7 2026418v0.1.427 · 25 Tháng 11 2026

Tháng 112026 · 1 phiên bản

Tháng 102026 · 7 phiên bản

Tháng 92026 · 3 phiên bản

Tháng 82026 · 18 phiên bản

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

Tháng 72026 · 3 phiên bản