diff options
Diffstat (limited to 'chromium/content/common/url_schemes.cc')
-rw-r--r-- | chromium/content/common/url_schemes.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/content/common/url_schemes.cc b/chromium/content/common/url_schemes.cc index 251ff504fdf..24e6d6de255 100644 --- a/chromium/content/common/url_schemes.cc +++ b/chromium/content/common/url_schemes.cc @@ -115,6 +115,8 @@ void RegisterContentSchemes(bool lock_schemes) { url::AddNoAccessScheme(cs.name.c_str()); if (cs.flags & url::CustomScheme::ContentSecurityPolicyIgnored) url::AddCSPBypassingScheme(cs.name.c_str()); + if (cs.flags & url::CustomScheme::CorsEnabled) + url::AddCorsEnabledScheme(cs.name.c_str()); } // Prevent future modification of the scheme lists. This is to prevent |