mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Revert "ELECTRON-430: Enable context isolation" (#355)
This commit is contained in:
committed by
GitHub
parent
b1196a74d2
commit
25c59230f1
@@ -20,7 +20,6 @@ let windowConfig = {
|
||||
titleBarStyle: true,
|
||||
resizable: false,
|
||||
webPreferences: {
|
||||
contextIsolation: true,
|
||||
preload: path.join(__dirname, 'renderer.js'),
|
||||
sandbox: true,
|
||||
nodeIntegration: false
|
||||
|
||||
@@ -23,7 +23,6 @@ let windowConfig = {
|
||||
titleBarStyle: true,
|
||||
resizable: false,
|
||||
webPreferences: {
|
||||
contextIsolation: true,
|
||||
preload: path.join(__dirname, 'renderer.js'),
|
||||
sandbox: true,
|
||||
nodeIntegration: false
|
||||
|
||||
@@ -24,7 +24,6 @@ let windowConfig = {
|
||||
resizable: false,
|
||||
alwaysOnTop: true,
|
||||
webPreferences: {
|
||||
contextIsolation: true,
|
||||
preload: path.join(__dirname, 'renderer.js'),
|
||||
sandbox: true,
|
||||
nodeIntegration: false
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -140,7 +140,6 @@ function doCreateMainWindow(initialUrl, initialBounds, isCustomTitleBar) {
|
||||
alwaysOnTop: false,
|
||||
webPreferences: {
|
||||
sandbox: sandboxed,
|
||||
contextIsolation: true,
|
||||
nodeIntegration: isNodeEnv,
|
||||
preload: preloadMainScript,
|
||||
nativeWindowOpen: true
|
||||
|
||||
Reference in New Issue
Block a user