diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/services/content/ServiceWebview.js | 2 | ||||
-rw-r--r-- | src/index.ts | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/components/services/content/ServiceWebview.js b/src/components/services/content/ServiceWebview.js index 38450b98f..b30a8d9b0 100644 --- a/src/components/services/content/ServiceWebview.js +++ b/src/components/services/content/ServiceWebview.js | |||
@@ -109,7 +109,7 @@ class ServiceWebview extends Component { | |||
109 | nodeintegration | 109 | nodeintegration |
110 | webpreferences={`spellcheck=${ | 110 | webpreferences={`spellcheck=${ |
111 | isSpellcheckerEnabled ? 1 : 0 | 111 | isSpellcheckerEnabled ? 1 : 0 |
112 | }, contextIsolation=1, nativeWindowOpen=1`} | 112 | }, contextIsolation=1`} |
113 | /> | 113 | /> |
114 | ); | 114 | ); |
115 | } | 115 | } |
diff --git a/src/index.ts b/src/index.ts index 013cf93ce..1721651e4 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -213,7 +213,6 @@ const createWindow = () => { | |||
213 | contextIsolation: false, | 213 | contextIsolation: false, |
214 | webviewTag: true, | 214 | webviewTag: true, |
215 | preload: join(__dirname, 'sentry.js'), | 215 | preload: join(__dirname, 'sentry.js'), |
216 | nativeWindowOpen: true, | ||
217 | }, | 216 | }, |
218 | }); | 217 | }); |
219 | 218 | ||
@@ -525,7 +524,6 @@ ipcMain.on('open-browser-window', (_e, { url, serviceId }) => { | |||
525 | fullscreenable: false, | 524 | fullscreenable: false, |
526 | webPreferences: { | 525 | webPreferences: { |
527 | session: serviceSession, | 526 | session: serviceSession, |
528 | nativeWindowOpen: true, | ||
529 | }, | 527 | }, |
530 | }); | 528 | }); |
531 | enableWebContents(child.webContents); | 529 | enableWebContents(child.webContents); |