WPT
wpt / trusted-types / script-enforcement-005.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 | 4/4 | 4/4 | 4/4 | 0/4 | 2/4 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Empty HTMLScriptElement is executed if the default policy makes it non-empty. | PASS | PASS | PASS | FAIL | PASS | — |
| Non-empty HTMLScriptElement is not executed if the default policy makes it empty. | PASS | PASS | PASS | FAIL | PASS | — |
| Empty SVGScriptElement is executed if the default policy makes it non-empty. | PASS | PASS | PASS | FAIL | FAIL | — |
| Non-empty SVGScriptElement is not executed if the default policy makes it empty. | PASS | PASS | PASS | FAIL | FAIL | — |