[webkit-changes] [WebKit/WebKit] 563b55: Make process selection synchronous

Chris Dumez noreply at github.com
Thu Apr 13 08:21:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 563b555f7bbf100018fb857b00ff7fee3dfb65c1
      https://github.com/WebKit/WebKit/commit/563b555f7bbf100018fb857b00ff7fee3dfb65c1
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-04-13 (Thu, 13 Apr 2023)

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

  Log Message:
  -----------
  Make process selection synchronous
https://bugs.webkit.org/show_bug.cgi?id=255377

Reviewed by Alex Christensen.

Make process selection synchronous when we process-swap on navigation. This
will make caching processes per RegistrableDomain easier for site isolation,
since we want all iframes from a given registrable domain to be loaded in the
same process.

* Source/WebKit/UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::processForNavigation):
(WebKit::WebProcessPool::processForNavigationInternal):
* Source/WebKit/UIProcess/WebProcessPool.h:

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




More information about the webkit-changes mailing list