WPT
wpt / trusted-types / SharedWorker-importScripts.html
Spec: Trusted Types ↗
Runs: Chrome 155.0.8039.0 (wpt@a4fcd77aa, 2026-09-03) | Firefox 157.0a1 (wpt@cc4d45aa0, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a9df8 (wpt@9b4cabf6d, 2026-09-03) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | 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 | 8/8 | 8/8 | 8/8 | 2/8 | 8/8 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| importScripts with TrustedScriptURL works in shared worker | PASS | PASS | PASS | PASS | PASS | — |
| importScripts with untrusted URLs throws in shared worker | PASS | PASS | PASS | FAIL | PASS | — |
| null is not a trusted script URL throws in shared worker | PASS | PASS | PASS | FAIL | PASS | — |
| importScripts with two URLs, both trusted, in shared worker | PASS | PASS | PASS | PASS | PASS | — |
| importScripts with two URLs, both strings, in shared worker | PASS | PASS | PASS | FAIL | PASS | — |
| importScripts with two URLs, one trusted, in shared worker | PASS | PASS | PASS | FAIL | PASS | — |
| importScripts with untrusted URLs and default policy works in shared worker | PASS | PASS | PASS | FAIL | PASS | — |
| importScripts with one trusted and one untrusted URLs and default policy works in shared worker | PASS | PASS | PASS | FAIL | PASS | — |