Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reportonly-in-meta-ignored.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reportonly-in-meta-ignored.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reportonly-in-meta-ignored.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..427c462dd58c39355e6efb2a5a8f5450fb844a34 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reportonly-in-meta-ignored.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <meta http-equiv="Content-Security-Policy-Report-Only" content="this-should-be-ignored"> |
+ <script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ </script> |
+</head> |
+<body> |
+ <p>This tests that report-only Content Security Policy headers are ignored if contained in meta elements.</p> |
+</body> |
+</html> |