diff options
author | 2021-05-31 23:13:01 +0530 | |
---|---|---|
committer | 2021-06-01 13:55:17 +0530 | |
commit | bf549e0fd86f742a2ce1986ec5fdb3acd6235a6f (patch) | |
tree | 78c7ed0d1ae8b022beca3de854bea81e4f234364 /src/index.js | |
parent | Re-generated 'package-lock.json' (diff) | |
download | ferdium-app-bf549e0fd86f742a2ce1986ec5fdb3acd6235a6f.tar.gz ferdium-app-bf549e0fd86f742a2ce1986ec5fdb3acd6235a6f.tar.zst ferdium-app-bf549e0fd86f742a2ce1986ec5fdb3acd6235a6f.zip |
ipc messages will allow only JS objects, replacing browser event with neeeded attrs
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 2586d7799..018bdc059 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -438,7 +438,7 @@ ipcMain.on('feature-basic-auth-credentials', (e, { user, password }) => { | |||
438 | authCallback = noop; | 438 | authCallback = noop; |
439 | }); | 439 | }); |
440 | 440 | ||
441 | ipcMain.on('open-browser-window', (e, { disposition, url }, serviceId) => { | 441 | ipcMain.on('open-browser-window', (e, { disposition, url, serviceId }) => { |
442 | if (disposition === 'foreground-tab') { | 442 | if (disposition === 'foreground-tab') { |
443 | const serviceSession = session.fromPartition(`persist:service-${serviceId}`); | 443 | const serviceSession = session.fromPartition(`persist:service-${serviceId}`); |
444 | const child = new BrowserWindow({ parent: mainWindow, webPreferences: { session: serviceSession } }); | 444 | const child = new BrowserWindow({ parent: mainWindow, webPreferences: { session: serviceSession } }); |