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

Unified Diff: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.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/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 0729e7d376aad4c31b39147f22590ae3cc456fa6..ee2d40dac29f952577b271acde8b8d09b3fe6887 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -92,7 +92,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)
@@ -277,8 +276,6 @@ class CORE_EXPORT ContentSecurityPolicy
void usesScriptHashAlgorithms(uint8_t ContentSecurityPolicyHashAlgorithm);
void usesStyleHashAlgorithms(uint8_t ContentSecurityPolicyHashAlgorithm);
- ReflectedXSSDisposition getReflectedXSSDisposition() const;
-
bool didSetReferrerPolicy() const;
void setOverrideAllowInlineStyle(bool);
@@ -304,7 +301,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