[webkit-changes] [WebKit/WebKit] fd39b8: Update SiteIsolation.ChildBeingNavigatedToMainFram...

Alex Christensen noreply at github.com
Tue Sep 26 11:42:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fd39b881f22a48edbb40e92360ab07c0e07c3eaa
      https://github.com/WebKit/WebKit/commit/fd39b881f22a48edbb40e92360ab07c0e07c3eaa
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm

  Log Message:
  -----------
  Update SiteIsolation.ChildBeingNavigatedToMainFrameDomainByParent API test to check termination of correct process
https://bugs.webkit.org/show_bug.cgi?id=262122
rdar://116060764

Reviewed by Pascoe.

I was trying to verify the iframe process was being terminated, but I was getting the pid after the iframe had navigated
to the same domain as the main frame process, which should not be terminated during the life of the WKWebView.
This gets the correct pid, and also removes some checks that are redundant with the checkFrameTreesInProcesses call below.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm:
(TestWebKitAPI::TEST):

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




More information about the webkit-changes mailing list