Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: afae607c8befb97f00e23875a633289c7310ee03
      
https://github.com/WebKit/WebKit/commit/afae607c8befb97f00e23875a633289c7310ee03
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2025-04-03 (Thu, 03 Apr 2025)

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

  Log Message:
  -----------
  WebPageProxy::loadData should use baseURL to help decide what site the 
initial process should contain
https://bugs.webkit.org/show_bug.cgi?id=290964

Reviewed by Brady Eidson and Timothy Hatcher.

With site isolation off this doesn't do anything, but with it on it makes the 
process accounting
more accurate.  Particularly in the case where we reuse a 
WKWebViewConfiguration for multiple
WKWebViews, they are all in the same BrowsingContextGroup, which means the 
process for a particular
site may already exist.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::loadData):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm:
(TestWebKitAPI::TEST(SiteIsolation, ReuseConfigurationLoadHTMLString)):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to