Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassCreate Worker via ScriptTestUrl
Asserts runNo asserts ran
PassBlock Worker creation via string
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new Worker(test_url)")
    at Test.<anonymous> ( /trusted-types/DedicatedWorker-constructor.https.html:25:3)
PassCreate Worker via string with default policy.
Asserts run
Pass
assert_equals("TrustedScriptURL", "TrustedScriptURL")
    at Test.<anonymous> ( /trusted-types/DedicatedWorker-constructor.https.html:47:3)
Pass
assert_equals("Worker constructor", "Worker constructor")
    at Test.<anonymous> ( /trusted-types/DedicatedWorker-constructor.https.html:48:3)