| Index: content/common/url_schemes.cc
|
| diff --git a/content/common/url_schemes.cc b/content/common/url_schemes.cc
|
| index f9bdbf814afbd4897edb2f62e33c9124cbfa04bc..e2a9a2edad91c48c94a73bc4311089cc66c1e327 100644
|
| --- a/content/common/url_schemes.cc
|
| +++ b/content/common/url_schemes.cc
|
| @@ -65,6 +65,9 @@ void RegisterContentSchemes(bool lock_schemes) {
|
| for (auto& scheme : schemes.cors_enabled_schemes)
|
| url::AddCORSEnabledScheme(scheme.c_str());
|
|
|
| + for (auto& scheme : schemes.csp_bypassing_schemes)
|
| + url::AddCSPBypassingScheme(scheme.c_str());
|
| +
|
| // Prevent future modification of the scheme lists. This is to prevent
|
| // accidental creation of data races in the program. Add*Scheme aren't
|
| // threadsafe so must be called when GURL isn't used on any other thread. This
|
|
|