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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head-expected.txt

Issue 132563006: CSP 1.1: <meta> delivery should be ignored outside <head>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase. Created 6 years, 10 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/meta-outside-head-expected.txt
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..755603027de7c99456561be706a6fba3556edf65
--- /dev/null
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head-expected.txt
@@ -0,0 +1,3 @@
+CONSOLE ERROR: line 11: The Content Security Policy 'script-src 'none'' was delivered via a <meta> element outside the document's <head>, which is disallowed. The policy has been ignored.
+ALERT: PASS (1/1)
+This test checks that Content Security Policy delivered via a meta element is not enforced if the element is outside the document's head.
« no previous file with comments | « LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head.html ('k') | Source/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698