Click here to download the Blitz Browser!

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

ChromeFirefoxSafariLadybirdServoBlitz
Total5/66/66/62/66/6NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
importScripts() on module worker should throw an exception.PASSPASSPASSTIMEOUTPASS
Worker construction for non-existent script should dispatch an ErrorEvent.PASSPASSPASSNOTRUNPASS
Static import for non-existent script should dispatch an ErrorEvent.PASSPASSPASSNOTRUNPASS
Dynamic import for non-existent script should throw an exception.PASSPASSPASSNOTRUNPASS
SharedWorker construction for an invalid URL should throw an exception.PASSPASSPASSPASSPASS
SharedWorker construction for a file URL should throw an exception.FAILPASSPASSPASSPASS