Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d88037fb35e217fc7d9f6ba254e05b77d7e445b2
https://github.com/WebKit/WebKit/commit/d88037fb35e217fc7d9f6ba254e05b77d7e445b2
Author: Pouneh Bahrami <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ResourceLoadStatistics.mm
Log Message:
-----------
[Site Isolation] Fix ResourceLoadStatistics.DataSummaryWithCachedProcess
https://bugs.webkit.org/show_bug.cgi?id=312305
rdar://173034467
Reviewed by Charlie Wolfe.
The back-forward cache has not yet been implemented under site isolation.
Without it, old processes are not held in m_suspendedPages after
cross-site navigation and immediately enter the process cache, so the
non-cached process count stays at 1 regardless of how many navigations
have occurred.
This fix guards the assertion with isUsingBackForwardCache so it only runs when
the back-forward cache is active.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ResourceLoadStatistics.mm:
(TEST(ResourceLoadStatistics, DataSummaryWithCachedProcess)):
Canonical link: https://commits.webkit.org/311250@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications