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

Unified Diff: Source/core/dom/Document.h

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: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index d8b66e822c4fcf654cfb84178018c428a6e869a5..aa702e84528c9309ebfaac0cfe96d8ce29c85813 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -722,8 +722,9 @@ public:
*
* @param equiv The http header name (value of the meta tag's "equiv" attribute)
* @param content The header value (value of the meta tag's "content" attribute)
+ * @param inDocumentHeadElement Is the element in the document's <head> element?
*/
- void processHttpEquiv(const AtomicString& equiv, const AtomicString& content);
+ void processHttpEquiv(const AtomicString& equiv, const AtomicString& content, bool inDocumentHeadElement);
void updateViewportDescription();
void processReferrerPolicy(const String& policy);
« no previous file with comments | « LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698