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
| 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 | — |