Bug 314236
| Summary: | [BFCache] Add diagnostic logging for goBack process selection and silent navigation drop | ||
|---|---|---|---|
| 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
After a same-site BFCache navigation, pressing Back could route goToBackForwardItem to the wrong WebProcess. The receiving process silently dropped the navigation, causing a permanent stall with no error logged — making this class of bug hard to diagnose.
Add RELEASE_LOG_ERROR at three diagnostic points:
1. When processForTheFrameItem selects a non-main-frame process for goToBackForwardItem.
2. When goBack/goToBackForwardItemAtIndex redirects from a main-frame item to a child-frame item.
3. When WebPage::goToBackForwardItem drops a navigation because the target local frame is missing.
Logging-only change. No behavior change, no new tests (covered by existing tests).
Subtask of rdar://161762363.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Basuke Suzuki
<rdar://problem/176395564>
Basuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/64427
EWS
Committed 312855@main (89ee21a79a70): <https://commits.webkit.org/312855@main>
Reviewed commits have been landed. Closing PR #64427 and removing active labels.