Revert "ELECTRON-430: Enable context isolation" (#355)

This commit is contained in:
Vishwas Shashidhar
2018-05-03 12:23:01 +05:30
committed by GitHub
parent b1196a74d2
commit 25c59230f1
6 changed files with 0 additions and 6 deletions

View File

@@ -20,7 +20,6 @@ let windowConfig = {
titleBarStyle: true,
resizable: false,
webPreferences: {
contextIsolation: true,
preload: path.join(__dirname, 'renderer.js'),
sandbox: true,
nodeIntegration: false

View File

@@ -23,7 +23,6 @@ let windowConfig = {
titleBarStyle: true,
resizable: false,
webPreferences: {
contextIsolation: true,
preload: path.join(__dirname, 'renderer.js'),
sandbox: true,
nodeIntegration: false

View File

@@ -24,7 +24,6 @@ let windowConfig = {
resizable: false,
alwaysOnTop: true,
webPreferences: {
contextIsolation: true,
preload: path.join(__dirname, 'renderer.js'),
sandbox: true,
nodeIntegration: false

View File

@@ -136,7 +136,6 @@ let config = {
transparent: true,
acceptFirstMouse: true,
webPreferences: {
contextIsolation: true,
preload: path.join(__dirname, 'electron-notify-preload.js'),
sandbox: sandboxed,
nodeIntegration: isNodeEnv

View File

@@ -27,7 +27,6 @@ let windowConfig = {
autoHideMenuBar: true,
resizable: false,
webPreferences: {
contextIsolation: true,
preload: path.join(__dirname, 'configure-notification-position-preload.js'),
sandbox: sandboxed,
nodeIntegration: false

View File

@@ -140,7 +140,6 @@ function doCreateMainWindow(initialUrl, initialBounds, isCustomTitleBar) {
alwaysOnTop: false,
webPreferences: {
sandbox: sandboxed,
contextIsolation: true,
nodeIntegration: isNodeEnv,
preload: preloadMainScript,
nativeWindowOpen: true