Bug 258140 - WebProcess hung on main thread in WebPage::platformInitializeAccessibility
Summary: WebProcess hung on main thread in WebPage::platformInitializeAccessibility
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-15 08:57 PDT by Per Arne Vollan
Modified: 2023-06-20 15:12 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.