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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reportonly-in-meta-ignored.html

Issue 143113003: CSP 1.1: Ignore report-only inside <meta>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Nit. Created 6 years, 11 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/1.1/reportonly-in-meta-ignored-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/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>
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reportonly-in-meta-ignored-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698