Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a533d1e948108fe58ed1bb753c7bc5f1bcd498c5
      
https://github.com/WebKit/WebKit/commit/a533d1e948108fe58ed1bb753c7bc5f1bcd498c5
  Author: Sihui Liu <sihui_...@apple.com>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M Source/WebKit/UIProcess/BrowsingContextGroup.cpp
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/WebProcessPool.cpp

  Log Message:
  -----------
  Create new BrowsingContextGroup for ProvisionPageProxy if session is changed
https://bugs.webkit.org/show_bug.cgi?id=273266
rdar://127066605

Reviewed by Alex Christensen.

Make BrowsingContextGroup only contain processes and pages that are in the same 
session, to avoid it returning wrong
process to page with a different session.

* Source/WebKit/UIProcess/BrowsingContextGroup.cpp:
(WebKit::BrowsingContextGroup::ensureProcessForDomain):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::continueNavigationInNewProcess):
(WebKit::WebPageProxy::processForRegistrableDomain):
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::processForNavigation):

Canonical link: https://commits.webkit.org/278055@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