Repository navigation
Description
Problem
Leaving a public patch and returning with browser Back can restore a ready-looking page whose client has permanently closed. A normal route change rejects unknown_outcome until the user reloads.
Reproduction
- Open a public tier-1 patch in Chromium with normal back/forward caching enabled.
- Navigate the top-level browser to another page.
- Press Back. Confirm pageshow.persisted is true.
- Click a normal in-patch route button. The URL does not change and the actual client rejects unknown_outcome.
- Reload manually. The route button works again.
The investigator and independent reviewer used the real production shell, broker, client and cache/CSP settings over synthetic offline HTTP fixtures. The reviewer observed persisted=true, a restored frame, one actual click, the rejection on screen and unchanged URL. The same measured control with BFCache disabled had persisted=false and successful navigation. One earlier disabled-control attempt timed out and is not treated as a passing control; its cause was not established.
Playwright normally passes --disable-back-forward-cache. The failing runs removed that automation flag and checked the actual browser command line. This is Chromium public-cache behavior, not a claim about every browser or private company page. No full hosted backend was exercised.
Cause and smallest change
The broker and client close on pagehide. BFCache restoration resumes that closed document without rerunning initialization, and neither handles persisted pageshow.
Reload the whole shell on a persisted return to establish a fresh document and broker. Preserve teardown and never replay pending operations or reopen the old port. The requested behavior is ordinary browser return-to-page functionality.
Audited at ef3e790. Found and independently reproduced by separate GPT-6 Astra agents in Oh My Pi. Ordinary local product workflows only, with synthetic data and no live services.
Activity