Bug 242725 - AX: InjectedBundle::postSynchronousMessage should not InformPlatformProcessWillSuspend by default
Summary: AX: InjectedBundle::postSynchronousMessage should not InformPlatformProcessWi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tyler Wilcock
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-13 16:40 PDT by Tyler Wilcock
Modified: 2022-07-14 00:33 PDT (History)
3 users (show)

See Also:


Attachments
Patch (2.16 KB, patch)
2022-07-13 16:46 PDT, Tyler Wilcock
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler Wilcock 2022-07-13 16:40:48 PDT
Informing some AX clients that they should suspend during rapid-but-short sync IPC calls can cause issues. An example where this is problematic is WebEditorClient::textWillBeDeletedInTextField() to InjectedBundlePageFormClient::shouldPerformActionInTextField, which results in a sync IPC call for every single deleted character.
Comment 1 Radar WebKit Bug Importer 2022-07-13 16:40:58 PDT
<rdar://problem/96980983>
Comment 2 Tyler Wilcock 2022-07-13 16:46:08 PDT
Created attachment 460872 [details]
Patch
Comment 3 EWS 2022-07-14 00:13:39 PDT
Committed 252443@main (ff6b58278898): <https://commits.webkit.org/252443@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 460872 [details].