Index: LayoutTests/http/tests/security/contentSecurityPolicy/directive-parsing-manifest.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/directive-parsing-manifest.html b/LayoutTests/http/tests/security/contentSecurityPolicy/directive-parsing-manifest.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..21938e567b5c7f48b10f2667aa0bd8e0e74af2ef |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/directive-parsing-manifest.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script> |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+} |
+if (window.internals) |
+ internals.settings.setExperimentalContentSecurityPolicyFeaturesEnabled(false); |
+</script> |
+<meta http-equiv="Content-Security-Policy" content="manifest-src 'self'"/> |
+</head> |
+<body> |
+<p>This page disables CSP2, but uses a CSP2 manifest directive. It should log an informative message to the console: not an error, showing that the directive is parsed correctly but experimental.</p> |
+</body> |
+</html> |
+ |