Bug 287530

Summary: Prevent frontmost tab from suspending if it has vended a remote accessibility element
Product: WebKit Reporter: Ben Nham <nham>
Component: WebKit Misc.Assignee: Ben Nham <nham>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ben Nham
Reported 2025-02-11 16:57:08 PST
We are seeing some hangs in accessibility clients that are trying to capture a snapshot of the accessibility hierarchy of a Safari window. This occurs if the window is occluded or hidden, which makes the frontmost tab's web content eligible for suspension. When the WKWebView is backed by a suspended WebContent process, the IPC to acquire the AX hierarchy in the suspended WebContent process hangs forever.
Attachments
Ben Nham
Comment 1 2025-02-11 16:57:10 PST
Ben Nham
Comment 2 2025-02-11 17:03:54 PST
EWS
Comment 3 2025-02-12 09:18:32 PST
Committed 290271@main (fad8a7409a4c): <https://commits.webkit.org/290271@main> Reviewed commits have been landed. Closing PR #40449 and removing active labels.
EWS
Comment 4 2025-02-14 12:55:24 PST
Committed 289651.120@safari-7621-branch (8a6d1e607a33): <https://commits.webkit.org/289651.120@safari-7621-branch> Reviewed commits have been landed. Closing PR #2600 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.