RESOLVED FIXED314236
[BFCache] Add diagnostic logging for goBack process selection and silent navigation drop
https://bugs.webkit.org/show_bug.cgi?id=314236
Summary [BFCache] Add diagnostic logging for goBack process selection and silent navi...
Basuke Suzuki
Reported 2026-05-06 14:16:05 PDT
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
Basuke Suzuki
Comment 1 2026-05-06 18:09:22 PDT
Basuke Suzuki
Comment 2 2026-05-06 18:09:39 PDT
EWS
Comment 3 2026-05-07 21:13:29 PDT
Committed 312855@main (89ee21a79a70): <https://commits.webkit.org/312855@main> Reviewed commits have been landed. Closing PR #64427 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.