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

Unified Diff: Source/core/frame/csp/CSPDirectiveList.cpp

Issue 856753003: MIX: Rename the CSP directive. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Oops. Created 5 years, 11 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/frame/csp/CSPDirectiveList.cpp
diff --git a/Source/core/frame/csp/CSPDirectiveList.cpp b/Source/core/frame/csp/CSPDirectiveList.cpp
index c1c9b356379fcdc6e016eda93f4da9dd9ea3ee37..bcf706764911bdc82fc26771ee6bc53eda90b7ad 100644
--- a/Source/core/frame/csp/CSPDirectiveList.cpp
+++ b/Source/core/frame/csp/CSPDirectiveList.cpp
@@ -725,7 +725,7 @@ void CSPDirectiveList::addDirective(const String& name, const String& value)
} else if (m_policy->experimentalFeaturesEnabled()) {
if (equalIgnoringCase(name, ContentSecurityPolicy::ManifestSrc))
setCSPDirective<SourceListDirective>(name, value, m_manifestSrc);
- else if (equalIgnoringCase(name, ContentSecurityPolicy::StrictMixedContentChecking))
+ else if (equalIgnoringCase(name, ContentSecurityPolicy::BlockAllMixedContent))
enforceStrictMixedContentChecking(name, value);
else
m_policy->reportUnsupportedDirective(name);

Powered by Google App Engine
This is Rietveld 408576698