Click here to download the Blitz Browser!

WPT

wpt / trusted-types / HTMLScriptElement-internal-slot.html

Spec: Trusted Types ↗

Runs: Chrome 155.0.8039.0 (wpt@6ec9fd59f, 2026-09-03) | Firefox 157.0a1 (wpt@6ec9fd59f, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-795e1 (wpt@7e3d005d7, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total9/99/99/98/98/9NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
Test TT application when manipulating <script> elements during loading.PASSPASSPASSFAILFAIL
Script set via .textContent executes on a connected HTMLScriptElement.PASSPASSPASSPASSPASS
Script set via .textContent executes on an unconnected HTMLScriptElement.PASSPASSPASSPASSPASS
Script set via .innerText executes on a connected HTMLScriptElement.PASSPASSPASSPASSPASS
Script set via .innerText executes on an unconnected HTMLScriptElement.PASSPASSPASSPASSPASS
Setting .src to a plain string should throw an exception and not modify the script state, on an unconnected script element.PASSPASSPASSPASSPASS
Setting .src to a TrustedScriptURL should work and should execute the referenced script instead of the script body, on an unconnected script element.PASSPASSPASSPASSPASS
Setting .src to a plain string should throw an exception and not modify the script state, on a connected script element.PASSPASSPASSPASSPASS
Setting .src to a TrustedScriptURL should work and should execute the referenced script instead of the script body, on a onnected script element.PASSPASSPASSPASSPASS