Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 90d12c87eba19b1b05817ddecc92893e6946e1ca
https://github.com/WebKit/WebKit/commit/90d12c87eba19b1b05817ddecc92893e6946e1ca
Author: Basuke Suzuki <[email protected]>
Date: 2026-05-09 (Sat, 09 May 2026)
Changed paths:
M Source/WebCore/history/BackForwardCache.cpp
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm
Log Message:
-----------
[BFCache] Enable same-site in-process BFCache under Site Isolation when no
cross-site iframes
https://bugs.webkit.org/show_bug.cgi?id=313615
rdar://175820428
Reviewed by Sihui Liu.
Relax the Site Isolation guard in BackForwardCache::addIfCacheable to allow
in-process BFCache for same-site navigations when the page has no cross-site
iframes (no RemoteFrame descendants). Pages with cross-site iframes remain
blocked pending UIProcess coordination for iframe process suspension (tracked
separately under bug 313657).
* Source/WebCore/history/BackForwardCache.cpp:
(WebCore::hasRemoteFrameDescendant):
(WebCore::BackForwardCache::addIfCacheable):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm:
(TEST(SiteIsolation, MultiProcessBFCacheSameSiteCaching)):
(TEST(SiteIsolation, MultiProcessBFCacheSameSiteWithCrossSiteIframeBlocked)):
Canonical link: https://commits.webkit.org/312946@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications