Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/directive-parsing-manifest.html

Issue 570563003: Implement CSP check for manifest fetching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed nit from mkwst Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/contentSecurityPolicy/directive-parsing-manifest-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
+
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/contentSecurityPolicy/directive-parsing-manifest-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698