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
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 9/9 | 9/9 | 9/9 | 8/9 | 8/9 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Test TT application when manipulating <script> elements during loading. | PASS | PASS | PASS | FAIL | FAIL | — |
| Script set via .textContent executes on a connected HTMLScriptElement. | PASS | PASS | PASS | PASS | PASS | — |
| Script set via .textContent executes on an unconnected HTMLScriptElement. | PASS | PASS | PASS | PASS | PASS | — |
| Script set via .innerText executes on a connected HTMLScriptElement. | PASS | PASS | PASS | PASS | PASS | — |
| Script set via .innerText executes on an unconnected HTMLScriptElement. | PASS | PASS | PASS | PASS | PASS | — |
| Setting .src to a plain string should throw an exception and not modify the script state, on an unconnected script element. | PASS | PASS | PASS | PASS | PASS | — |
| Setting .src to a TrustedScriptURL should work and should execute the referenced script instead of the script body, on an unconnected script element. | PASS | PASS | PASS | PASS | PASS | — |
| Setting .src to a plain string should throw an exception and not modify the script state, on a connected script element. | PASS | PASS | PASS | PASS | PASS | — |
| Setting .src to a TrustedScriptURL should work and should execute the referenced script instead of the script body, on a onnected script element. | PASS | PASS | PASS | PASS | PASS | — |