Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-eventsource-redirect-to-blocked.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-eventsource-redirect-to-blocked.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-eventsource-redirect-to-blocked.html |
deleted file mode 100644 |
index dec9ed6d7efb948e436d6d336faceae11fd72482..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-eventsource-redirect-to-blocked.html |
+++ /dev/null |
@@ -1,32 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
- <meta http-equiv="Content-Security-Policy" content="connect-src http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.php"> |
- <script src="/js-test-resources/js-test.js"></script> |
-</head> |
-<body> |
- <script> |
- window.jsTestIsAsync = true; |
- |
- var es; |
- try { |
- // Redirect to a different host, because as of CSP2 paths |
- // are ignored when matching after a redirect. |
- es = new EventSource("resources/redir.php?url=http://localhost:8000/eventsource/resources/simple-event-stream.asis"); |
- } catch(e) { |
- testFailed("EventSource() should not throw an exception."); |
- } |
- |
- es.onload = function () { |
- testFailed("EventSource() should fail to follow the disallowed redirect."); |
- finishJSTest(); |
- }; |
- |
- es.onerror = function () { |
- testPassed("EventSource() did not follow the disallowed redirect."); |
- finishJSTest(); |
- }; |
- </script> |
-</script> |
-</body> |
-</html> |