Bug 308939
| Summary: | Preserve navigatedFrameID in session state for correct child frame back/forward navigation . | ||
|---|---|---|---|
| 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 session state is restored via _restoreSessionState:andNavigate:, the BackForwardList is rebuilt from serialized data. However, the navigatedFrameID was not preserved. restoreFromState() always set it to the main frame's FrameIdentifier, causing goBack()/goForward() to reload the entire page instead of navigating only the child frame.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Basuke Suzuki
rdar://149987127
Basuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/59684
EWS
Committed 308501@main (a58aaf679b91): <https://commits.webkit.org/308501@main>
Reviewed commits have been landed. Closing PR #59684 and removing active labels.