mirror of
https://github.com/electron/electron.git
synced 2026-02-19 03:14:51 -05:00
fix: spellcheck not working in tests
https://chromium-review.googlesource.com/c/chromium/src/+/7452579
This commit is contained in:
@@ -38,7 +38,10 @@ app.commandLine.appendSwitch('host-resolver-rules', [
|
||||
// Enable features required by tests.
|
||||
app.commandLine.appendSwitch('enable-features', [
|
||||
// spec/api-web-frame-main-spec.ts
|
||||
'DocumentPolicyIncludeJSCallStacksInCrashReports'
|
||||
'DocumentPolicyIncludeJSCallStacksInCrashReports',
|
||||
// spec/spellchecker-spec.ts - allows spellcheck without user gesture
|
||||
// https://chromium-review.googlesource.com/c/chromium/src/+/7452579
|
||||
'UnrestrictSpellingAndGrammarForTesting'
|
||||
].join(','));
|
||||
|
||||
global.standardScheme = 'app';
|
||||
|
||||
Reference in New Issue
Block a user