Skip to content

Commit

Permalink
auth dialog - enable context isolation (#102926)
Browse files Browse the repository at this point in the history
* auth dialog - enable context isolation

* remote nativeWindowOpen
  • Loading branch information
bpasero committed Jul 21, 2020
1 parent 798047c commit 7e40e8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/vs/code/electron-main/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ export class ProxyAuthHandler extends Disposable {
title: 'VS Code',
webPreferences: {
preload: URI.parse(require.toUrl('vs/base/parts/sandbox/electron-browser/preload.js')).fsPath,
enableWebSQL: false,
sandbox: true,
devTools: false,
contextIsolation: true,
enableWebSQL: false,
enableRemoteModule: false,
spellcheck: false,
devTools: false,
v8CacheOptions: 'bypassHeatCheck'
}
};
Expand Down

0 comments on commit 7e40e8e

Please sign in to comment.