From d70b7aa1601ef11347083711415aff02cd1fbc3a Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 13 Sep 2016 18:40:11 -0500 Subject: [PATCH] re-enable webSecurity in the shell window --- app/background-process/ui/windows.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/background-process/ui/windows.js b/app/background-process/ui/windows.js index 5c1f5d44ce..8ac656d8df 100644 --- a/app/background-process/ui/windows.js +++ b/app/background-process/ui/windows.js @@ -27,10 +27,7 @@ export function createShellWindow () { var win = new BrowserWindow({ titleBarStyle: 'hidden-inset', 'standard-window': false, - x, y, width, height, - webPreferences: { - webSecurity: false, // disable same-origin policy in the shell-window; the s of site content will have it re-enabled - } + x, y, width, height }) downloads.registerListener(win) loadURL(win, 'beaker:shell-window')