feat: migrate webRequest module to NetworkService (Part 9) (#19976)
* no need to get WebContents for URLLoaderFactory * consult embedder for network_factory created in net module * set disable_web_security to false * re-enable webRequest tests in net module
This commit is contained in:
parent
bdb20d53cb
commit
4eee71ffbf
3 changed files with 35 additions and 13 deletions
|
@ -628,7 +628,7 @@ describe('net module', () => {
|
|||
})
|
||||
})
|
||||
|
||||
describe.skip('webRequest', () => {
|
||||
describe('webRequest', () => {
|
||||
afterEach(() => {
|
||||
session.defaultSession.webRequest.onBeforeRequest(null)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue