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

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

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
Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reportonly-in-meta-ignored-expected.txt
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reportonly-in-meta-ignored-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reportonly-in-meta-ignored-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1588286127f0c7a9faf5d66603c6b9a75501e16
--- /dev/null
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reportonly-in-meta-ignored-expected.txt
@@ -0,0 +1,2 @@
+CONSOLE ERROR: line 4: The report-only Content Security Policy 'this-should-be-ignored' was delivered via a <meta> element, which is disallowed. The policy has been ignored.
+This tests that report-only Content Security Policy headers are ignored if contained in meta elements.

Powered by Google App Engine
This is Rietveld 408576698