Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html |
deleted file mode 100644 |
index 77626ba3f5220d52b5df43bb52d0e4b83c6770d8..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html |
+++ /dev/null |
@@ -1,29 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
-<meta http-equiv="Content-Security-Policy" content="connect-src 'none'"/> |
-<script> |
-if (window.testRunner) { |
- testRunner.waitUntilDone(); |
- testRunner.dumpAsText(); |
-} |
-</script> |
-</head> |
-<body> |
-<script> |
-try { |
- 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) |
- testRunner.notifyDone(); |
- }; |
-} catch (e) { |
- alert(e); |
- if (window.testRunner) |
- testRunner.notifyDone(); |
-} |
-</script> |
-</body> |
-</html> |