blob: 6bf684c385b14f480f3b956ed34b7881e4853efa [file] [log] [blame]
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<meta http-equiv="content-security-policy" content="connect-src 'self'">
<script>
// SharedWorkers do not inherit policy.
fetch_tests_from_worker(new SharedWorker("./support/connect-src-allow.sub.js"));
fetch_tests_from_worker(new SharedWorker("./support/connect-src-self.sub.js?pipe=sub|header(Content-Security-Policy,connect-src 'self')"));
fetch_tests_from_worker(new SharedWorker("./support/connect-src-self.sub.js?pipe=sub|header(Content-Security-Policy,default-src 'self')"));
</script>