| Index: LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed.html
|
| diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed.html b/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed.html
|
| index 8174f6d771737bf7a4eef6ff70adb545fb1bd0f9..29f14f982be29c38fa28423774b26fbfa1a9d497 100644
|
| --- a/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed.html
|
| +++ b/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed.html
|
| @@ -1,7 +1,7 @@
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| -<meta http-equiv="Content-Security-Policy" content="connect-src http://127.0.0.1:8000"/>
|
| +<meta http-equiv="Content-Security-Policy" content="connect-src 'none'"/>
|
| <script>
|
| if (window.testRunner) {
|
| testRunner.waitUntilDone();
|
| @@ -12,7 +12,8 @@ if (window.testRunner) {
|
| <body>
|
| <script>
|
| try {
|
| - var worker = new SharedWorker('http://127.0.0.1:8000/security/contentSecurityPolicy/resources/shared-worker-make-xhr.js');
|
| + var worker = new SharedWorker('http://127.0.0.1:8000/security/contentSecurityPolicy/resources/worker.php?type=shared-make-xhr&csp=' +
|
| + encodeURIComponent("connect-src http://127.0.0.1:8000"));
|
| worker.port.onmessage = function (event) {
|
| alert(event.data);
|
| if (window.testRunner)
|
|
|