| Index: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/inside-worker/shared-script.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/inside-worker/shared-script.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/inside-worker/shared-script.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6065135d9403ada1928a0b666ec195caa3dde440
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/inside-worker/shared-script.html
|
| @@ -0,0 +1,11 @@
|
| +<!DOCTYPE html>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +
|
| +<meta http-equiv="content-security-policy" content="script-src 'self' 'nonce-a' blob: filesystem:">
|
| +<script nonce="a">
|
| + // SharedWorker URLs do not inherit policy.
|
| + fetch_tests_from_worker(new SharedWorker("./support/script-src-allow.sub.js"));
|
| + fetch_tests_from_worker(new SharedWorker("./support/script-src-self.sub.js?pipe=sub|header(Content-Security-Policy,script-src 'self'"));
|
| + fetch_tests_from_worker(new SharedWorker("./support/script-src-self.sub.js?pipe=sub|header(Content-Security-Policy,default-src 'self'"));
|
| +</script>
|
|
|