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

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h

Issue 2428473004: Remove the 'reflected-xss' directive from CSP. (Closed)
Patch Set: Test. Created 4 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
Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
index 7d017f855aa00838dea157f1472436b849ce9d0d..1aabcacaed1c4d11871fca711d72ba1fc0e26749 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
@@ -142,9 +142,6 @@ class CORE_EXPORT CSPDirectiveList
const String& evalDisabledErrorMessage() const {
return m_evalDisabledErrorMessage;
}
- ReflectedXSSDisposition getReflectedXSSDisposition() const {
- return m_reflectedXSSDisposition;
- }
ReferrerPolicy getReferrerPolicy() const { return m_referrerPolicy; }
bool didSetReferrerPolicy() const { return m_didSetReferrerPolicy; }
bool isReportOnly() const {
@@ -181,7 +178,6 @@ class CORE_EXPORT CSPDirectiveList
void parseRequireSRIFor(const String& name, const String& value);
void parseReportURI(const String& name, const String& value);
void parsePluginTypes(const String& name, const String& value);
- void parseReflectedXSS(const String& name, const String& value);
void parseReferrer(const String& name, const String& value);
void addDirective(const String& name, const String& value);
void applySandboxPolicy(const String& name, const String& sandboxPolicy);
@@ -281,7 +277,6 @@ class CORE_EXPORT CSPDirectiveList
ContentSecurityPolicyHeaderSource m_headerSource;
bool m_hasSandboxPolicy;
- ReflectedXSSDisposition m_reflectedXSSDisposition;
bool m_didSetReferrerPolicy;
ReferrerPolicy m_referrerPolicy;

Powered by Google App Engine
This is Rietveld 408576698