Bug 313615
| Summary: | [Site Isolation] Enable same-site in-process BFCache under Site Isolation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Basuke Suzuki <basuke> |
| Component: | WebKit Misc. | 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
Under Site Isolation, BackForwardCache::addIfCacheable(HistoryItem&, Page*) unconditionally returns false, blocking ALL in-process BFCache even for same-site navigations with no cross-site iframes.
For pages with no RemoteFrame descendants (no cross-site iframes), in-process BFCache should work exactly as without SI — there are no RemotePageProxy objects in the BCG, no iframe processes to coordinate.
Step 1: Relax the SI guard to allow same-site BFCache when no cross-site iframes exist.
Step 2 (future): UIProcess coordination for iframe process suspension during same-site BFCache with cross-site iframes.
rdar://175820428
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/176327855>
Basuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/64584
EWS
Committed 312946@main (90d12c87eba1): <https://commits.webkit.org/312946@main>
Reviewed commits have been landed. Closing PR #64584 and removing active labels.