refactor: remove duplicate contextIsolation from getWebPreference() (#31730)

This commit is contained in:
Milan Burda 2021-11-08 17:57:56 +01:00 committed by GitHub
parent 4af21a1df8
commit fe7f296339
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 16 deletions

View file

@ -6,7 +6,6 @@ setImmediate(function () {
ipcRenderer.send('answer', {
nativeWindowOpen: webFrame.getWebPreference('nativeWindowOpen'),
nodeIntegration: webFrame.getWebPreference('nodeIntegration'),
sandbox: webFrame.getWebPreference('sandbox'),
typeofProcess: typeof global.process,
windowOpenerIsNull
});