Files
romm/frontend
zurdi efccb6743b feat(player): keep a pending save when the tab closes
The browser cancels requests in flight on unload, so a save the tick has
not uploaded goes out on pagehide through fetch with keepalive, which
outlives the document but is capped at 64 KB. While a save is pending,
beforeunload shows the leave prompt, the only way to keep a save above
that cap, and runs ahead of EmulatorJS' own unload handler so a
cancelled close keeps the game running.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MozJiij1oQbu12GvtAPBFR
2026-09-16 20:33:53 +02:00
..
2026-05-30 20:53:52 -04:00
2026-07-26 14:14:07 -04:00