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.
<rdar://problem/110191499>
Pull request: https://github.com/WebKit/WebKit/pull/15006
Committed 265334@main (5bcf0b7db273): <https://commits.webkit.org/265334@main> Reviewed commits have been landed. Closing PR #15006 and removing active labels.