Index: LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html b/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html |
index 97412f29ca9e980a80fdd5bb9f7bbc6c9dce3add..77626ba3f5220d52b5df43bb52d0e4b83c6770d8 100644 |
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html |
@@ -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 'none'")); |
worker.port.onmessage = function (event) { |
alert(event.data); |
if (window.testRunner) |