Patch Changes
-
#12629
f7abc93- The picture-in-picture window no longer clears its document withinnerHTML, which pages that enforce Trusted Types block. -
#12628
80d6c41- The devtools no longer use goober. Their styles are a static stylesheet adopted into the document or shadow root the devtools render in, instead of a<style>element in<head>. This means:- The devtools are styled on pages with a Content Security Policy that blocks inline
<style>elements.styleNonceis no longer needed and is deprecated. - Devtools rendered inside a shadow root are styled without passing
shadowDOMTarget. - With
shadowDOMTarget, the settings menu is styled. - The picture-in-picture window gets all styles, including ones the devtools use only after it opened.
- The devtools no longer write to the shared
#_gooberstyle element or setwindow.__nonce__. - Browsers without adoptable stylesheets (before Safari 16.4 and Firefox 101) show the devtools unstyled.
- The devtools are styled on pages with a Content Security Policy that blocks inline
-
#12643
fd62c95- Add atrustedTypesPolicyoption, so the devtools render on pages that enforcerequire-trusted-types-for 'script'. -
Updated dependencies []:
- @tanstack/query-core@5.108.2