Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4e90d1362a81062676d53c0807532f90dd25bff7 https://github.com/WebKit/WebKit/commit/4e90d1362a81062676d53c0807532f90dd25bff7 Author: Alex Christensen <achristen...@apple.com> Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths: M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp M Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm Log Message: ----------- [Site Isolation] Main frame should be able to follow redirects on second navigation https://bugs.webkit.org/show_bug.cgi?id=275753 rdar://130300581 Reviewed by Sihui Liu. There were a few places in ProvisionalPageProxy where we only reused the main frame and identifier when window.open was called, and it is important to use it in that case. It is also important to reuse the main frame and identifier when site isolation is on but there is no opener because otherwise the process selection logic gets messed up and we are unable to load in the main frame any more. * Source/WebKit/UIProcess/ProvisionalPageProxy.cpp: (WebKit::ProvisionalPageProxy::initializeWebPage): (WebKit::ProvisionalPageProxy::didCreateMainFrame): * Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm: (TestWebKitAPI::TEST(SiteIsolation, MainFrameRedirectBetweenExistingProcesses)): Canonical link: https://commits.webkit.org/280267@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