aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index d97f2cf09..b1d4907cc 100644
--- a/src/index.js
+++ b/src/index.js
@@ -455,7 +455,12 @@ ipcMain.on('open-browser-window', (e, { url, serviceId }) => {
455 const serviceSession = session.fromPartition(`persist:service-${serviceId}`); 455 const serviceSession = session.fromPartition(`persist:service-${serviceId}`);
456 const child = new BrowserWindow({ 456 const child = new BrowserWindow({
457 parent: mainWindow, 457 parent: mainWindow,
458 webPreferences: { session: serviceSession }, 458 webPreferences: {
459 session: serviceSession,
460 // TODO: Aren't these needed here?
461 // contextIsolation: false,
462 // enableRemoteModule: true,
463 },
459 }); 464 });
460 child.show(); 465 child.show();
461 child.loadURL(url); 466 child.loadURL(url);