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

Unified Diff: content/common/content_security_policy/csp_source_list.cc

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Rebase. Created 3 years, 9 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
« no previous file with comments | « content/common/content_security_policy/csp_disposition_enum.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/content_security_policy/csp_source_list.cc
diff --git a/content/common/content_security_policy/csp_source_list.cc b/content/common/content_security_policy/csp_source_list.cc
index 5f6511aa7642e77a9dafbf36146d2c4d8f7ccf48..f05cc4d28ee218978507e3aec930e2264424c300 100644
--- a/content/common/content_security_policy/csp_source_list.cc
+++ b/content/common/content_security_policy/csp_source_list.cc
@@ -20,7 +20,7 @@ const GURL GetEffectiveURL(CSPContext* context, const GURL& url) {
// Due to backwards-compatibility concerns, we allow 'self' to match blob and
// filesystem inner URLs if we are in a context that bypasses
// ContentSecurityPolicy in the main world.
- if (context->SelfSchemeShouldBypassCSP()) {
+ if (context->SelfSchemeShouldBypassCsp()) {
if (url.SchemeIsFileSystem() || url.SchemeIsBlob())
return ExtractInnerURL(url);
}
« no previous file with comments | « content/common/content_security_policy/csp_disposition_enum.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698