WPT
wpt / trusted-types / SharedWorker-importScripts.html
Spec: Trusted Types ↗
Runs: Chrome 154.0.8037.0 (wpt@98a70a0c5) | Firefox 157.0a1 (wpt@98a70a0c5) | Safari 251 preview (wpt@5ce815a83) | Ladybird 1.0-28104 (wpt@b1a7025f8) | Servo Servo 0.5 (wpt@2ccd2cbf8) | Blitz dc9e62f29 (wpt@a95401e4e)
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 | 0/8 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| importScripts with TrustedScriptURL works in shared worker | PASS | PASS | PASS | PASS | — | — |
| importScripts with untrusted URLs throws in shared worker | PASS | PASS | PASS | FAIL | — | — |
| null is not a trusted script URL throws in shared worker | PASS | PASS | PASS | FAIL | — | — |
| importScripts with two URLs, both trusted, in shared worker | PASS | PASS | PASS | PASS | — | — |
| importScripts with two URLs, both strings, in shared worker | PASS | PASS | PASS | FAIL | — | — |
| importScripts with two URLs, one trusted, in shared worker | PASS | PASS | PASS | FAIL | — | — |
| importScripts with untrusted URLs and default policy works in shared worker | PASS | PASS | PASS | FAIL | — | — |
| importScripts with one trusted and one untrusted URLs and default policy works in shared worker | PASS | PASS | PASS | FAIL | — | — |