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,
|
titleBarStyle: true,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
contextIsolation: true,
|
|
||||||
preload: path.join(__dirname, 'renderer.js'),
|
preload: path.join(__dirname, 'renderer.js'),
|
||||||
sandbox: true,
|
sandbox: true,
|
||||||
nodeIntegration: false
|
nodeIntegration: false
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ let windowConfig = {
|
|||||||
titleBarStyle: true,
|
titleBarStyle: true,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
contextIsolation: true,
|
|
||||||
preload: path.join(__dirname, 'renderer.js'),
|
preload: path.join(__dirname, 'renderer.js'),
|
||||||
sandbox: true,
|
sandbox: true,
|
||||||
nodeIntegration: false
|
nodeIntegration: false
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ let windowConfig = {
|
|||||||
resizable: false,
|
resizable: false,
|
||||||
alwaysOnTop: true,
|
alwaysOnTop: true,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
contextIsolation: true,
|
|
||||||
preload: path.join(__dirname, 'renderer.js'),
|
preload: path.join(__dirname, 'renderer.js'),
|
||||||
sandbox: true,
|
sandbox: true,
|
||||||
nodeIntegration: false
|
nodeIntegration: false
|
||||||
|
|||||||
@@ -136,7 +136,6 @@ let config = {
|
|||||||
transparent: true,
|
transparent: true,
|
||||||
acceptFirstMouse: true,
|
acceptFirstMouse: true,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
contextIsolation: true,
|
|
||||||
preload: path.join(__dirname, 'electron-notify-preload.js'),
|
preload: path.join(__dirname, 'electron-notify-preload.js'),
|
||||||
sandbox: sandboxed,
|
sandbox: sandboxed,
|
||||||
nodeIntegration: isNodeEnv
|
nodeIntegration: isNodeEnv
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ let windowConfig = {
|
|||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
contextIsolation: true,
|
|
||||||
preload: path.join(__dirname, 'configure-notification-position-preload.js'),
|
preload: path.join(__dirname, 'configure-notification-position-preload.js'),
|
||||||
sandbox: sandboxed,
|
sandbox: sandboxed,
|
||||||
nodeIntegration: false
|
nodeIntegration: false
|
||||||
|
|||||||
@@ -140,7 +140,6 @@ function doCreateMainWindow(initialUrl, initialBounds, isCustomTitleBar) {
|
|||||||
alwaysOnTop: false,
|
alwaysOnTop: false,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
sandbox: sandboxed,
|
sandbox: sandboxed,
|
||||||
contextIsolation: true,
|
|
||||||
nodeIntegration: isNodeEnv,
|
nodeIntegration: isNodeEnv,
|
||||||
preload: preloadMainScript,
|
preload: preloadMainScript,
|
||||||
nativeWindowOpen: true
|
nativeWindowOpen: true
|
||||||
|
|||||||
Reference in New Issue
Block a user