[webkit-changes] [WebKit/WebKit] cf3cb8: Fix container manager sandbox violations

Per Arne Vollan noreply at github.com
Tue Feb 14 10:23:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf3cb8bb45fd917d3edf307525328c72cb286a59
      https://github.com/WebKit/WebKit/commit/cf3cb8bb45fd917d3edf307525328c72cb286a59
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-02-14 (Tue, 14 Feb 2023)

  Changed paths:
    M Source/WebKit/Shared/LoadParameters.cpp
    M Source/WebKit/Shared/LoadParameters.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp

  Log Message:
  -----------
  Fix container manager sandbox violations
https://bugs.webkit.org/show_bug.cgi?id=250389
rdar://104079541

Reviewed by Geoffrey Garen.

Send top private controlled domain and host in load parameters and cache the result
in the WebContent process, since computing the top privately controlled domain is
causing the sandbox violation in the WebContent process.

* Source/WebKit/Shared/LoadParameters.cpp:
(WebKit::LoadParameters::encode const):
(WebKit::LoadParameters::decode):
* Source/WebKit/Shared/LoadParameters.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::loadRequestWithNavigationShared):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::loadRequest):

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




More information about the webkit-changes mailing list