electron - explicitly disable spellchecker

It will be enabled by default starting with Electron 9
This commit is contained in:
Benjamin Pasero 2020-07-21 07:50:25 +02:00
parent dc333833e9
commit a006879172
5 changed files with 6 additions and 0 deletions

View file

@ -64,6 +64,7 @@ export class ProxyAuthHandler extends Disposable {
sandbox: true,
devTools: false,
enableRemoteModule: false,
spellcheck: false,
v8CacheOptions: 'bypassHeatCheck'
}
};

View file

@ -46,6 +46,7 @@ export class SharedProcess implements ISharedProcess {
nodeIntegration: true,
enableWebSQL: false,
enableRemoteModule: false,
spellcheck: false,
nativeWindowOpen: true,
images: false,
webgl: false,

View file

@ -170,6 +170,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
nodeIntegration: true,
enableWebSQL: false,
enableRemoteModule: false,
spellcheck: false,
nativeWindowOpen: true,
webviewTag: true,
zoomFactor: zoomLevelToZoomFactor(windowConfig?.zoomLevel)

View file

@ -199,6 +199,7 @@ export class IssueMainService implements ICommonIssueService {
nodeIntegration: true,
enableWebSQL: false,
enableRemoteModule: false,
spellcheck: false,
nativeWindowOpen: true,
zoomFactor: zoomLevelToZoomFactor(data.zoomLevel)
}
@ -252,6 +253,7 @@ export class IssueMainService implements ICommonIssueService {
preload: URI.parse(require.toUrl('vs/base/parts/sandbox/electron-browser/preload.js')).fsPath,
enableWebSQL: false,
enableRemoteModule: false,
spellcheck: false,
nativeWindowOpen: true,
zoomFactor: zoomLevelToZoomFactor(data.zoomLevel),
...this.environmentService.sandbox ?

View file

@ -116,6 +116,7 @@ app.on('ready', () => {
nodeIntegration: true,
enableWebSQL: false,
enableRemoteModule: false,
spellcheck: false,
nativeWindowOpen: true,
webviewTag: true
}