[webkit-changes] [WebKit/WebKit] b3b9f1: Send PolicyAction::LoadWillContinueInAnotherProces...

Alex Christensen noreply at github.com
Sat Aug 5 12:40:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b3b9f13b59e860a9ec5a567a0ddbc26d61f98cba
      https://github.com/WebKit/WebKit/commit/b3b9f13b59e860a9ec5a567a0ddbc26d61f98cba
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-08-05 (Sat, 05 Aug 2023)

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

  Log Message:
  -----------
  Send PolicyAction::LoadWillContinueInAnotherProcess if the frame process is changing
https://bugs.webkit.org/show_bug.cgi?id=259863

Reviewed by Tim Horton.

266528 at main exposed a bug in the site isolation implementation.
We were sending PolicyAction::LoadWillContinueInAnotherProcess if the load was continuing in a process
other than the initiator, and we should have been sending it if the load was continuing in a process
that is different than the process the frame is in.

This fixes two API tests that were asserting in debug builds:
TestWebKitAPI.SiteIsolation.NavigatingCrossOriginIframeToSameOrigin and
TestWebKitAPI.SiteIsolation.ChildNavigatingToMainFrameDomain

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::receivedNavigationPolicyDecision):

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




More information about the webkit-changes mailing list