Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 34469923bb042aed134a4f945afc059422153924
https://github.com/WebKit/WebKit/commit/34469923bb042aed134a4f945afc059422153924
Author: Ryosuke Niwa <[email protected]>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M Source/WebKit/UIProcess/WebProcessProxy.cpp
Log Message:
-----------
[Site Isolation] fast/events/before-unload-navigate-different-window.html
fails
https://bugs.webkit.org/show_bug.cgi?id=313075
Reviewed by Sihui Liu.
The bug was caused by WebProcessProxy::didStartProvisionalLoadForMainFrame
clobbering
WebProcessProxy::m_site to SiteState::MultipleSites when navigating from
about:blank to a file URL.
Avoid process swap in this case by preserving WebProcessProxy::m_site.
Test: fast/events/before-unload-navigate-different-window.html
* Source/WebKit/UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didStartProvisionalLoadForMainFrame):
Canonical link: https://commits.webkit.org/311895@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications