Click here to download the Blitz Browser!

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

ChromeFirefoxSafariLadybirdServoBlitz
Total8/88/88/82/88/8NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
importScripts with TrustedScriptURL works in shared workerPASSPASSPASSPASSPASS
importScripts with untrusted URLs throws in shared workerPASSPASSPASSFAILPASS
null is not a trusted script URL throws in shared workerPASSPASSPASSFAILPASS
importScripts with two URLs, both trusted, in shared workerPASSPASSPASSPASSPASS
importScripts with two URLs, both strings, in shared workerPASSPASSPASSFAILPASS
importScripts with two URLs, one trusted, in shared workerPASSPASSPASSFAILPASS
importScripts with untrusted URLs and default policy works in shared workerPASSPASSPASSFAILPASS
importScripts with one trusted and one untrusted URLs and default policy works in shared workerPASSPASSPASSFAILPASS