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 · 40 phiên bản

42725 Tháng 11Layouts that remember their workMới nhất · v0.1.427 · Hiển thị9 42625 Tháng 11Compiled with what real pages runv0.1.426 · JavaScript và JIT 42525 Tháng 11Built with whole-program optimizationv0.1.425 · Hiển thị 42425 Tháng 11More layout reused after a script changes the pagev0.1.424 · Hiển thị 42324 Tháng 11The optimizing compiler works off the main threadv0.1.423 · Hiển thị 42222 Tháng 11Text-reading loops and element-tree builders run fasterv0.1.422 · JavaScript và JIT14 42122 Tháng 11Calls from loops run inside the loop's own machine codev0.1.421 · JavaScript và JIT9 42021 Tháng 11Pages you come back to run their scripts soonerv0.1.420 · Hiển thị17 41918 Tháng 11A faster interpreter runs the page's codev0.1.419 · JavaScript và JIT12 41815 Tháng 11Scripts run faster on busy pagesv0.1.418 · JavaScript và JIT34 41711 Tháng 11Pages wait less for their own scripts and stylesv0.1.417 · JavaScript và JIT13 41611 Tháng 11WebGPU loops run 2 to 3 times faster on Macsv0.1.416 · JavaScript và JIT 41510 Tháng 11WebGPU loops count right on Macsv0.1.415 · JavaScript và JIT 41410 Tháng 11WebGPU runs in its own graphics processv0.1.414 · Hiển thị 41310 Tháng 11A graphics card reset no longer takes the browser downv0.1.413 · Hiển thị 4129 Tháng 11Video moves to the graphics cardv0.1.412 · Đa phương tiện 4119 Tháng 11No canvas stall on Windows, patterns and every blend mode on the graphics cardv0.1.411 · Hiển thị 4109 Tháng 11Canvas drawing moves to the graphics cardv0.1.410 · Hiển thị27 4098 Tháng 11Every tile on the GPUv0.1.409 · Hiển thị26 4088 Tháng 113D at 120 frames a secondv0.1.408 · Hiển thị23 4077 Tháng 11WebGL 2v0.1.407 · Hiển thị36 4066 Tháng 11A stuck tab stops at oncev0.1.406 · Hiển thị16 4055 Tháng 11Small WebGL drawings get smooth edgesv0.1.405 · Hiển thị 4045 Tháng 11WebGL pages finally movev0.1.404 · Hiển thị25 4035 Tháng 11WebGPU is herev0.1.403 · Hiển thị35 4024 Tháng 11A canvas that moves itself to the GPUv0.1.402 · Hiển thị 4014 Tháng 1199% of real pages decided by the GPUv0.1.401 · Hiển thị9 4004 Tháng 11Smooth turns, the same bytes on every chip, and fields that keep their textv0.1.400 · Hiển thị15 3994 Tháng 11Animations on the GPU compositor, and text that stays in its boxv0.1.399 · Hiển thị22 3984 Tháng 11Gradient patterns that tile, animations that keep up, and a much faster canvasv0.1.398 · Hiển thị14 3973 Tháng 11Transitions that ease, and a GPU that draws 94% of real pages itselfv0.1.397 · Hiển thị 3963 Tháng 11Animations on the GPU compositor, and spinners that spin as arcsv0.1.396 · Hiển thị 3953 Tháng 11Carousels that fade, badges that stay put, and floats that stay insidev0.1.395 · Hiển thị12 3943 Tháng 11Background images over their colour, interlaced pictures, and borders in every colourv0.1.394 · Hiển thị 3932 Tháng 11Style sheets in page order, and symbols that fall back like macOSv0.1.393 · Hiển thị 3922 Tháng 11Icon fonts loaded by script, and colour emoji on Windowsv0.1.392 · Thẻ và giao diện 3911 Tháng 11Emoji in colour, sized as in the reference browserv0.1.391 · JavaScript và JIT 3901 Tháng 11A classified ads site's front page: blank before, whole nowv0.1.390 · JavaScript và JIT12 3891 Tháng 11A computer maker's home page: navigation labels back, buttons apartv0.1.389 · Hiển thị 3881 Tháng 11A space agency's home page, a news section and a language site's header now match the referencev0.1.388 · Hiển thị18

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

Xem thêm 57
Tháng 92026124 phiên bản Tháng 82026140 phiên bản Tháng 7202656 phiên bản