Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b4d827b027d2b44b9729145827193e22f1f099b3
https://github.com/WebKit/WebKit/commit/b4d827b027d2b44b9729145827193e22f1f099b3
Author: Alex Christensen <[email protected]>
Date: 2024-04-30 (Tue, 30 Apr 2024)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.h
M Source/WebKit/WebProcess/WebPage/WebFrame.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm
Log Message:
-----------
Begin implementing iframe provisional navigation failure handling with site
isolation
https://bugs.webkit.org/show_bug.cgi?id=273514
rdar://127312255
Reviewed by Sihui Liu.
When a provisional load fails in a process, we need to send that process a
message saying to
transition the LocalFrame used for the provisional load back to a RemoteFrame.
Also, the frame
transition functions need to be a little more symmetric.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::sendToWebPageInProcess):
(WebKit::WebPageProxy::didFailProvisionalLoadForFrameShared):
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::transitionToRemote):
(WebKit::WebFrame::transitionToLocal):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm:
(TestWebKitAPI::TEST(SiteIsolation,
NavigateIframeToProvisionalNavigationFailure)):
Canonical link: https://commits.webkit.org/278198@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes