Bug 313760

Summary: [Site Isolation] Skip SI remote page setup in ProvisionalPageProxy when restoring from BFCache
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-30 10:31:18 PDT
When ProvisionalPageProxy is created from a suspended page (BFCache restore), skip the Site Isolation remote page infrastructure setup in initializeWebPage. The suspended page's WebProcess already has the correct WebPage — setting up remote page parameters or taking an existing RemotePageProxy is unnecessary and incorrect for this path. Add a bool isRestoringFromBFCache parameter to initializeWebPage, set from the presence of a suspendedPage in the constructor. No behavior change: multi-process BFCache is gated by a feature flag that is OFF by default. rdar://175954055
Attachments
Basuke Suzuki
Comment 1 2026-04-30 11:40:46 PDT
EWS
Comment 2 2026-05-01 18:53:24 PDT
Committed 312467@main (b37c6a0f5b91): <https://commits.webkit.org/312467@main> Reviewed commits have been landed. Closing PR #63986 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.