Bug 250101 - Avoid mach lookups of container manager service before load starts.
Summary: Avoid mach lookups of container manager service before load starts.
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-01-04 13:14 PST by Per Arne Vollan
Modified: 2023-01-05 10:38 PST (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-01-04 13:14:03 PST
Avoid mach lookups of container manager service before load starts in the WebContent process. When the WebContent process is trying to find the top privately controlled domain, the CFNetwork function called will cause mach lookups of the container manager service. This is avoided in this patch by fixing an error where the url instead of the host is used to get the top privately domain. Additionally, this patch redefines when the WebContent process is regarded as launched, by setting the sandbox state variable when the load is committed. Both of these changes will move us closer to blocking launchd.
Comment 1 Radar WebKit Bug Importer 2023-01-04 13:14:21 PST
<rdar://problem/103885775>
Comment 2 Per Arne Vollan 2023-01-04 13:18:27 PST
Pull request: https://github.com/WebKit/WebKit/pull/8211
Comment 3 EWS 2023-01-05 10:38:13 PST
Committed 258490@main (40cef5c6bb31): <https://commits.webkit.org/258490@main>

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