Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 40cef5c6bb31e1ba8d1d930003e10f86b7ad597f
https://github.com/WebKit/WebKit/commit/40cef5c6bb31e1ba8d1d930003e10f86b7ad597f
Author: Per Arne Vollan <[email protected]>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M
Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in
M Source/WebKit/Scripts/process-entitlements.sh
M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
M Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
Log Message:
-----------
Avoid mach lookups of container manager service before load starts.
https://bugs.webkit.org/show_bug.cgi?id=250101
rdar://103885775
Reviewed by Geoffrey Garen.
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 in the WebContent process sandbox.
* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
* Source/WebKit/Scripts/process-entitlements.sh:
* Source/WebKit/UIProcess/ProvisionalPageProxy.cpp:
(WebKit::ProvisionalPageProxy::goToBackForwardItem):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::launchProcessForReload):
(WebKit::WebPageProxy::goToBackForwardItem):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::create):
(WebKit::WebPage::goToBackForwardItem):
(WebKit::WebPage::didCommitLoad):
* Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:
Canonical link: https://commits.webkit.org/258490@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes