Docs: closing with a large save on the wire no longer loses what was typed behind it
Keepalive saves and beacons share the browser's 64KiB. The unload beacon repeated the keepalive save already on the wire, so with a large one there it was refused, its keepalive fallback too, and the edits queued behind it were lost (Claude Fable on #94). The beacon now leaves out a keepalive save, which lands without the page, and falls back to the queue alone. Rebased onto main and the bundle rebuilt over #90.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 files changed,
+202
−83
fixtures/editor-entry.js+48 −42fixtures/engines/saving.mjs+19 −1fixtures/save-queue.mjs+17 −7fixtures/save-queue.test.mjs+27 −1internal/docs/saving_browser_test.go+77 −4internal/docs/static/editor.0770518b763a3fac.js+0 −14internal/docs/static/editor.284edd3ba52d6852.js+0 −14internal/docs/static/editor.781d731ca14ec9cf.js+14 −0
fixtures/editor-entry.jsLoading diff…
fixtures/engines/saving.mjsLoading diff…
fixtures/save-queue.mjsLoading diff…
fixtures/save-queue.test.mjsLoading diff…
internal/docs/saving_browser_test.goLoading diff…
internal/docs/static/editor.0770518b763a3fac.jsLoading diff…
internal/docs/static/editor.284edd3ba52d6852.jsLoading diff…
internal/docs/static/editor.781d731ca14ec9cf.jsLoading diff…