Bug 255576 - AX: Spell check off the main thread.
Summary: AX: Spell check off the main thread.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-17 19:58 PDT by Andres Gonzalez
Modified: 2023-04-17 19:58 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Gonzalez 2023-04-17 19:58:34 PDT
Accessibility is using one of two methods to spell check text:

checkTextOfParagraph(*checker, text, TextCheckingType::Spelling, results, node->document().frame()->selection().selection());

or

node->document().editor().textChecker()->checkSpellingOfString(...)

and both require hitting the main thread, which goes against the goal of ITM.
Comment 1 Radar WebKit Bug Importer 2023-04-17 19:58:48 PDT
<rdar://problem/108174773>