Bug 313760
| Summary: | [Site Isolation] Skip SI remote page setup in ProvisionalPageProxy when restoring from BFCache | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Basuke Suzuki <basuke> |
| Component: | New Bugs | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Basuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/63986
EWS
Committed 312467@main (b37c6a0f5b91): <https://commits.webkit.org/312467@main>
Reviewed commits have been landed. Closing PR #63986 and removing active labels.