[webkit-changes] [WebKit/WebKit] 5c8777: [Site Isolation] Fix `_updateWebpagePreferences`

Charlie Wolfe noreply at github.com
Thu Jun 20 13:03:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5c8777b628749a67db65e54b38598e18ffa1ddbf
      https://github.com/WebKit/WebKit/commit/5c8777b628749a67db65e54b38598e18ffa1ddbf
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2024-06-20 (Thu, 20 Jun 2024)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm

  Log Message:
  -----------
  [Site Isolation] Fix `_updateWebpagePreferences`
https://bugs.webkit.org/show_bug.cgi?id=275677
rdar://130186550

Reviewed by Sihui Liu and Alex Christensen.

Send the `UpdateWebsitePolicies` message to all web processes. If the main frame is out-of-process, apply
website policies on its remote frame client.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::updateWebsitePolicies):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updateWebsitePolicies):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm:
(TestWebKitAPI::TEST(SiteIsolation, UpdateWebpagePreferences)):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list