Skip to content

Commit 7e40e8e

Browse files
author
Benjamin Pasero
authored
auth dialog - enable context isolation (microsoft#102926)
* auth dialog - enable context isolation * remote nativeWindowOpen
1 parent 798047c commit 7e40e8e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/vs/code/electron-main/auth.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@ export class ProxyAuthHandler extends Disposable {
6060
title: 'VS Code',
6161
webPreferences: {
6262
preload: URI.parse(require.toUrl('vs/base/parts/sandbox/electron-browser/preload.js')).fsPath,
63-
enableWebSQL: false,
6463
sandbox: true,
65-
devTools: false,
64+
contextIsolation: true,
65+
enableWebSQL: false,
6666
enableRemoteModule: false,
6767
spellcheck: false,
68+
devTools: false,
6869
v8CacheOptions: 'bypassHeatCheck'
6970
}
7071
};

0 commit comments

Comments
 (0)