fix: spellcheck not working in tests

https://chromium-review.googlesource.com/c/chromium/src/+/7452579
This commit is contained in:
Samuel Maddock
2026-02-05 11:39:42 -05:00
parent 224072a129
commit f04f9dc365

View File

@@ -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';