electron - disable remote module in all windows (#101224)

This commit is contained in:
Benjamin Pasero
2020-06-28 12:12:38 +02:00
committed by GitHub
parent c5237f6d5a
commit 4f65b91444
11 changed files with 22 additions and 10 deletions
+1
View File
@@ -118,6 +118,7 @@ app.on('ready', () => {
webviewTag: true,
preload: path.join(__dirname, '..', '..', '..', 'src', 'vs', 'base', 'parts', 'sandbox', 'electron-browser', 'preload.js'), // ensure similar environment as VSCode as tests may depend on this
enableWebSQL: false,
enableRemoteModule: false,
nativeWindowOpen: true
}
});