fix: a popup already open when storage becomes unreadable keeps rendering the stale profile #373
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found by a deployability verification of
nextat75a5fa9, observed in a real browser.If storage becomes unreadable while the popup is already open, the popup keeps rendering the stale profile —
view-mainwith the old balance — instead of moving to the recovery screen added by #311. Reopening the popup recovers correctly.Benign as it stands: nothing can be signed without a password, and the stale view is read-only. But it is the #311 family — the recovery screen exists precisely so the user is never left looking at something untrue about their wallet, and here they are, until they happen to reopen.
Not in milestone 1.0.0: it requires storage to fail underneath a live popup, and the failure is read-only and self-correcting on reopen.
Definition of done
make checkgreen.