FIXME: Remove SchemeRegistry::RegisterURLSchemeAsCORSEnabled

1157364
This commit is contained in:
deepak1556 2018-10-25 22:29:38 +05:30
parent ffeab383b5
commit b5b49c9ed0
2 changed files with 3 additions and 2 deletions

View file

@ -153,7 +153,6 @@ void RendererClientBase::RenderThreadStarted() {
// In Chrome we should set extension's origins to match the pages they can
// work on, but in Electron currently we just let extensions do anything.
blink::SchemeRegistry::RegisterURLSchemeAsSecure(extension_scheme);
blink::SchemeRegistry::RegisterURLSchemeAsCORSEnabled(extension_scheme);
blink::SchemeRegistry::RegisterURLSchemeAsBypassingContentSecurityPolicy(
extension_scheme);