Click here to download the Blitz Browser!

WPT

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

Spec: Trusted Types ↗

Runs: Chrome 155.0.8038.0 (wpt@397d01d8e, 2026-09-02) | Firefox 157.0a1 (wpt@397d01d8e, 2026-09-02) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-5f6fa (wpt@b1a7025f8, 2026-09-02) | Servo Servo 0.5 (wpt@2ccd2cbf8, 2026-09-01) | Blitz 7727414ca (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