Bug 275457 - AX: Notify accessibility that WebProcess is suspended on both Mac and iOS
Summary: AX: Notify accessibility that WebProcess is suspended on both Mac and iOS
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari Technology Preview
Hardware: All All
: P2 Normal
Assignee: Dominic Mazzoni
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-06-13 14:16 PDT by Dominic Mazzoni
Modified: 2024-06-17 10:56 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 Dominic Mazzoni 2024-06-13 14:16:08 PDT
https://bugs.webkit.org/show_bug.cgi?id=228936 (Notify accessibility that WebProcess is suspended when in process cache) added an accessibility notification that a process is suspended, but only for iOS. We need the same notification on macOS also.

The Mac implementation of the notification is already there, and it's already used in other places in the code where a process is suspended. We were just missing the case where the process gets added to the process cache.

The bug this causes is that assistive technology can try to query attributes of an element that's in the suspended process. The query hangs until it times out. This was happening sometimes when following a link to a different domain with VoiceOver. The notification enables accessibility clients to keep track of which processes are suspended and cause any queries to those processes to fail fast.
Comment 1 Radar WebKit Bug Importer 2024-06-13 14:16:16 PDT
<rdar://problem/129796427>
Comment 2 Dominic Mazzoni 2024-06-13 14:21:56 PDT
Pull request: https://github.com/WebKit/WebKit/pull/29793
Comment 3 EWS 2024-06-17 10:56:14 PDT
Committed 280077@main (f1b8127093df): <https://commits.webkit.org/280077@main>

Reviewed commits have been landed. Closing PR #29793 and removing active labels.