Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4ca041a13dfafa4a2fbe427511dd2705969b1be8 https://github.com/WebKit/WebKit/commit/4ca041a13dfafa4a2fbe427511dd2705969b1be8 Author: Chirag M Shah <chirag_m_s...@apple.com> Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths: M Source/WebCore/page/Page.cpp M Source/WebCore/page/Page.h M Source/WebKit/UIProcess/SubframePageProxy.cpp M Source/WebKit/UIProcess/WebFrameProxy.h M Source/WebKit/UIProcess/WebPageProxy.cpp M Source/WebKit/UIProcess/WebPageProxy.h M Source/WebKit/UIProcess/WebProcessPool.cpp M Source/WebKit/WebProcess/WebPage/WebFrame.cpp M Source/WebKit/WebProcess/WebPage/WebPage.cpp M Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm Log Message: ----------- Support navigating cross-site iframe to mainFrame domain https://bugs.webkit.org/show_bug.cgi?id=256339 Reviewed by Alex Christensen. This change adds support so that an iframe can navigate back to the mainFrame domain, and so that the load happens in the mainFrame process. * Source/WebCore/page/Page.cpp: (WebCore::Page::addRootFrame): * Source/WebCore/page/Page.h: (WebCore::Page::addRootFrame): Deleted. * Source/WebKit/UIProcess/SubframePageProxy.cpp: (WebKit::SubframePageProxy::didCommitLoadForFrame): * Source/WebKit/UIProcess/WebFrameProxy.h: (WebKit::WebFrameProxy::provisionalFrame): * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::receivedNavigationPolicyDecision): (WebKit::WebPageProxy::didCommitLoadForFrame): (WebKit::WebPageProxy::decidePolicyForNavigationAction): (WebKit::WebPageProxy::decidePolicyForResponse): * Source/WebKit/UIProcess/WebPageProxy.h: * Source/WebKit/UIProcess/WebProcessPool.cpp: (WebKit::WebProcessPool::processForNavigation): * Source/WebKit/WebProcess/WebPage/WebFrame.cpp: (WebKit::WebFrame::transitionToLocal): * Source/WebKit/WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::SandboxExtensionTracker::beginLoad): * Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm: (TestWebKitAPI::TEST): Canonical link: https://commits.webkit.org/263747@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes