Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 09895fc3ff2f2c6b9a087f23c5da58c88aac8a13
https://github.com/WebKit/WebKit/commit/09895fc3ff2f2c6b9a087f23c5da58c88aac8a13
Author: Ryosuke Niwa <[email protected]>
Date: 2026-10-05 (Mon, 05 Oct 2026)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
Log Message:
-----------
[Site Isolation] _WKDownload.RedirectedSubframeLoadConvertedToDownload fails
https://bugs.webkit.org/show_bug.cgi?id=326384
Reviewed by Chris Dumez.
When a subframe navigation was already loading in a provisional frame in
another process, a redirect that
stayed in that process was treated as a process swap, because the process
navigating from was computed as
the frame's committed process. The swap restarted the load, destroying the
API::Navigation and its redirect
chain, so the resulting download only reported the final URL.
Like we already do for the main frame's provisional page, use the provisional
frame's process as the process
navigating from when the navigation continues in that process, and keep the
provisional frame instead of
destroying it.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::receivedNavigationActionPolicyDecision):
Canonical link: https://commits.webkit.org/322800@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications