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:
Cheng Zhao 2019-08-28 01:12:33 +09:00 committed by Robo
parent bdb20d53cb
commit 4eee71ffbf
3 changed files with 35 additions and 13 deletions

View file

@ -628,7 +628,7 @@ describe('net module', () => {
})
})
describe.skip('webRequest', () => {
describe('webRequest', () => {
afterEach(() => {
session.defaultSession.webRequest.onBeforeRequest(null)
})