relates to #19447
Preflight Checklist
Issue Details
- Electron Version:
- Operating System:
- Windows 10.0.18362 Build 18362 64-bit
- Last Known Working Electron version:
Expected Behavior
When an extension is loaded using Session.loadExtension with webRequest or webRequestBlocking permissions, no effect should be taken since these are currently unsupported Chrome APIs.
Actual Behavior
Loading an extension with webRequest or webRequestBlocking permissions causes all app network events to hang without resolving.
Adding a delay to calling Window.loadURL can fix the issue (seems like a race condition).
To Reproduce
This is likely the fastest way to test this issue:
- Modify
spec-main/fixtures/extensions/content-script/manifest.json to include the following:
"permissions": ["webRequest", "webRequestBlocking", "<all_urls>"]
- Re-run
spec-main/extensions-spec.ts tests and it should prevent loading any content in the window.
Otherwise you can try this repo:
https://github.com/samuelmaddock/electron-extensions-loading-blocked-bug
Screenshots
App not loading after calling win.loadURL('https://www.electronjs.org/')

relates to #19447
Preflight Checklist
Issue Details
Expected Behavior
When an extension is loaded using
Session.loadExtensionwithwebRequestorwebRequestBlockingpermissions, no effect should be taken since these are currently unsupported Chrome APIs.Actual Behavior
Loading an extension with
webRequestorwebRequestBlockingpermissions causes all app network events to hang without resolving.Adding a delay to calling
Window.loadURLcan fix the issue (seems like a race condition).To Reproduce
This is likely the fastest way to test this issue:
spec-main/fixtures/extensions/content-script/manifest.jsonto include the following:spec-main/extensions-spec.tstests and it should prevent loading any content in the window.Otherwise you can try this repo:
https://github.com/samuelmaddock/electron-extensions-loading-blocked-bug
Screenshots
App not loading after calling

win.loadURL('https://www.electronjs.org/')