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

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

Issue 2428473004: Remove the 'reflected-xss' directive from CSP. (Closed)
Patch Set: 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/ContentSecurityPolicy.h
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
index a51449bb06735d0bb26130fbe62482d901406d74..017c3e06ebfa01a6a53ac84d513a22228e5002ad 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -91,7 +91,6 @@ class CORE_EXPORT ContentSecurityPolicy
static const char FormAction[];
static const char FrameAncestors[];
static const char PluginTypes[];
- static const char ReflectedXSS[];
static const char Referrer[];
// Manifest Directives (to be merged into CSP Level 2)
@@ -265,8 +264,6 @@ class CORE_EXPORT ContentSecurityPolicy
void usesScriptHashAlgorithms(uint8_t ContentSecurityPolicyHashAlgorithm);
void usesStyleHashAlgorithms(uint8_t ContentSecurityPolicyHashAlgorithm);
- ReflectedXSSDisposition getReflectedXSSDisposition() const;
-
bool didSetReferrerPolicy() const;
void setOverrideAllowInlineStyle(bool);
@@ -292,7 +289,6 @@ class CORE_EXPORT ContentSecurityPolicy
void reportInvalidSandboxFlags(const String&);
void reportInvalidSourceExpression(const String& directiveName,
const String& source);
- void reportInvalidReflectedXSS(const String&);
void reportMissingReportURI(const String&);
void reportUnsupportedDirective(const String&);
void reportInvalidInReportOnly(const String&);

Powered by Google App Engine
This is Rietveld 408576698