fix: extension web workers net request failing (#45698)
This commit is contained in:
parent
22b7403cd1
commit
b50066f420
1 changed files with 6 additions and 0 deletions
|
@ -1074,6 +1074,12 @@ void ElectronBrowserClient::
|
|||
// reason for it, and we could consider supporting it in future.
|
||||
protocol_registry->RegisterURLLoaderFactories(factories,
|
||||
false /* allow_file_access */);
|
||||
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
|
||||
factories->emplace(
|
||||
extensions::kExtensionScheme,
|
||||
extensions::CreateExtensionWorkerMainResourceURLLoaderFactory(
|
||||
browser_context));
|
||||
#endif
|
||||
}
|
||||
|
||||
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue