Bug 306554
| Summary: | Iframe history not restored on back navigation with BFCache off. | ||
|---|---|---|---|
| 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 navigating back through browser history with iframes (BFCache OFF), the iframe's content is not restored to its previous state. The browser's loading indicator continues spinning indefinitely.
### Reproduction Steps
1. Navigate to `index.html`
2. Click link → navigate to `bf-navigation/index.html` (iframe shows `page1.html`)
3. Inside iframe, click link → navigate to `page2.html`
4. Click "Home" link → navigate back to `index.html`
5. Browser back button → returns to `bf-navigation/index.html` (iframe shows `page2.html`) ✓
6. Browser back button again → **BUG:**
- Expected: iframe shows `page1.html`
- Actual: iframe remains on `page2.html` + loading indicator never completes
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Basuke Suzuki
rdar://169197828
Basuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/57571
EWS
Committed 306580@main (667fcac3eb76): <https://commits.webkit.org/306580@main>
Reviewed commits have been landed. Closing PR #57571 and removing active labels.