From f04f9dc365c70e8f0ab42faf0de7e30cc887117e Mon Sep 17 00:00:00 2001 From: Samuel Maddock Date: Thu, 5 Feb 2026 11:39:42 -0500 Subject: [PATCH] fix: spellcheck not working in tests https://chromium-review.googlesource.com/c/chromium/src/+/7452579 --- spec/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spec/index.js b/spec/index.js index f52ef70e92..ebf60b1c46 100644 --- a/spec/index.js +++ b/spec/index.js @@ -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';