Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics.html |
deleted file mode 100644 |
index 53fd74e1f498fa95b6242e7913de786922f9a7a3..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics.html |
+++ /dev/null |
@@ -1,34 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
- <script src="/js-test-resources/js-test.js"></script> |
- <script> |
- description('Check that a SecurityPolicyViolationEvent handler exists, and that events can be created.'); |
- |
- try { |
- shouldBeEqualToString('typeof document.onsecuritypolicyviolation', 'object'); |
- shouldBeEqualToString('typeof SecurityPolicyViolationEvent', 'function'); |
- var data = { |
- 'documentURI': 'documentURIValue', |
- 'referrer': 'referrerValue', |
- 'blockedURI': 'blockedURIValue', |
- 'violatedDirective': 'violatedDirectiveValue', |
- 'effectiveDirective': 'effectiveDirectiveValue', |
- 'originalPolicy': 'originalPolicyValue', |
- 'sourceFile': 'sourceFileValue', |
- 'lineNumber': 1, |
- 'columnNumber': 1, |
- 'statusCode': 200, |
- }; |
- window.e = new SecurityPolicyViolationEvent('SecurityPolicyViolation', data); |
- shouldBeEqualToString('typeof window.e', 'object'); |
- for (key in data) |
- shouldBe('window.e.' + key, JSON.stringify(data[key])); |
- } catch (ex) { |
- testFailed('Exception thrown: ' + ex.message); |
- } |
- </script> |
-</head> |
-<body> |
-</body> |
-</html> |