WPT
wpt / workers / modules / shared-worker-import-failure.html
Spec: https://html.spec.whatwg.org/multipage/workers.html ↗
Runs: Chrome 155.0.8043.0 (wpt@d317428a6, 2026-09-05) | Firefox 157.0a1 (wpt@d317428a6, 2026-09-05) | Safari 251 preview (wpt@c29bd2aee, 2026-09-05) | Ladybird 1.0-62d2b (wpt@6f9e382f6, 2026-09-05) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 5/6 | 6/6 | 6/6 | 2/6 | 6/6 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| importScripts() on module worker should throw an exception. | PASS | PASS | PASS | TIMEOUT | PASS | — |
| Worker construction for non-existent script should dispatch an ErrorEvent. | PASS | PASS | PASS | NOTRUN | PASS | — |
| Static import for non-existent script should dispatch an ErrorEvent. | PASS | PASS | PASS | NOTRUN | PASS | — |
| Dynamic import for non-existent script should throw an exception. | PASS | PASS | PASS | NOTRUN | PASS | — |
| SharedWorker construction for an invalid URL should throw an exception. | PASS | PASS | PASS | PASS | PASS | — |
| SharedWorker construction for a file URL should throw an exception. | FAIL | PASS | PASS | PASS | PASS | — |