Index: LayoutTests/http/tests/security/contentSecurityPolicy/resources/shared-worker-make-xhr.js |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/shared-worker-make-xhr.js b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/shared-worker-make-xhr.js |
deleted file mode 100644 |
index dfada0d6c842b5b4a061662527a1a46a2e7c6a1c..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/shared-worker-make-xhr.js |
+++ /dev/null |
@@ -1,10 +0,0 @@ |
-onconnect = function (event) { |
- var port = event.ports[0]; |
- try { |
- var xhr = new XMLHttpRequest; |
- xhr.open("GET", "http://127.0.0.1:8000/xmlhttprequest/resources/get.txt", true); |
- port.postMessage("xhr allowed"); |
- } catch(e) { |
- port.postMessage("xhr blocked"); |
- } |
-}; |