Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b3b9f13b59e860a9ec5a567a0ddbc26d61f98cba
      
https://github.com/WebKit/WebKit/commit/b3b9f13b59e860a9ec5a567a0ddbc26d61f98cba
  Author: Alex Christensen <[email protected]>
  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@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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to