Note about incorrect usage of blink::SchemeRegistry methods
This commit is contained in:
parent
73919ea91a
commit
fd297722a8
4 changed files with 6 additions and 9 deletions
|
@ -116,6 +116,7 @@ void RendererClientBase::RenderThreadStarted() {
|
|||
// Allow file scheme to handle service worker by default.
|
||||
// FIXME(zcbenz): Can this be moved elsewhere?
|
||||
blink::WebSecurityPolicy::RegisterURLSchemeAsAllowingServiceWorkers("file");
|
||||
blink::SchemeRegistry::RegisterURLSchemeAsSupportingFetchAPI("file");
|
||||
|
||||
preferences_manager_.reset(new PreferencesManager);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue