Bug 313507

Summary: [Site Isolation] Add Page ownership checks to BackForwardCache get() and take()
Product: WebKit Reporter: Basuke Suzuki <basuke>
Component: New BugsAssignee: Basuke Suzuki <basuke>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Basuke Suzuki
Reported 2026-04-27 18:42:08 PDT
BackForwardCache::get() and take() can return a CachedPage belonging to a different Page when multiple WebPages in the same process share a BackForwardFrameItemIdentifier (e.g., during multi-process BFCache with Site Isolation). Add Page ownership checks so mismatched entries are rejected. Also add CachedFrame RemoteFrame support and Page-aware BFCache check in continueLoadAfterNavigationPolicy.
Attachments
Basuke Suzuki
Comment 1 2026-04-27 18:44:31 PDT
Basuke Suzuki
Comment 2 2026-04-28 09:54:13 PDT
EWS
Comment 3 2026-04-28 16:32:26 PDT
Committed 312248@main (0dad921c8a6b): <https://commits.webkit.org/312248@main> Reviewed commits have been landed. Closing PR #63799 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.