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