| <link rel="help" href="https://w3c.github.io/webappsec-csp/#can-compile-strings"> |
| <script src="/resources/testharness.js"></script> |
| <script src="/resources/testharnessreport.js"></script> |
| <script src="support/helper.sub.js"></script> |
| <meta http-equiv="Content-Security-Policy" content="require-trusted-types-for 'script'"> |
| const testSetupPolicy = trustedTypes.createPolicy("p", |
| { createScriptURL: s => s } |
| fetch_tests_from_worker(new SharedWorker( |
| testSetupPolicy.createScriptURL("support/block-eval-function-constructor-worker.js") |