Bug 258140

Summary: WebProcess hung on main thread in WebPage::platformInitializeAccessibility
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Per Arne Vollan 2023-06-15 08:57:51 PDT
The WebProcess can hang on the main thread in WebPage::platformInitializeAccessibility for several seconds. This appears to be caused by the call to [NSApplication _accessibilityInitialize] trying to connect to the Launch Services daemon. At this point, the daemon is blocked in the sandbox. Fix this by extending the time holding the sandbox extension to the daemon, which has been revoked.
Comment 1 Per Arne Vollan 2023-06-15 08:58:09 PDT
<rdar://problem/110191499>
Comment 2 Per Arne Vollan 2023-06-15 09:01:15 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15006
Comment 3 EWS 2023-06-20 15:12:51 PDT
Committed 265334@main (5bcf0b7db273): <https://commits.webkit.org/265334@main>

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