[webkit-changes] [WebKit/WebKit] 15603e: Fix container manager sandbox violation

Per Arne Vollan noreply at github.com
Sat Nov 12 08:32:48 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 15603efbf0b0e74658e6c9d864635f07756d7a88
      https://github.com/WebKit/WebKit/commit/15603efbf0b0e74658e6c9d864635f07756d7a88
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2022-11-12 (Sat, 12 Nov 2022)

  Changed paths:
    M Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb.in
    M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.h
    M Source/WebKit/WebProcess/WebPage/WebPage.messages.in

  Log Message:
  -----------
  Fix container manager sandbox violation
https://bugs.webkit.org/show_bug.cgi?id=247806
rdar://101571870

Reviewed by Brent Fulgham.

Fix container manager sandbox violation. This service has split into two services, and we need to allow both in the Network process.
In the WebContent process, we fix the violation by making sure that the top privately controlled domain is in the cache, since we
otherwise will hit this violation.

* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb.in:
* 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::goToBackForwardItem):
* Source/WebKit/WebProcess/WebPage/WebPage.h:
* Source/WebKit/WebProcess/WebPage/WebPage.messages.in:

Canonical link: https://commits.webkit.org/256605@main




More information about the webkit-changes mailing list