WEFT_OS/tests/frame
Marco Allegretti c1ea57fbef
fix(notes): keep Discard usable after a failed load
Discard waited for a stored revision, so after a load failed (stored
notes not valid UTF-8, a read error, a lost reply) the editor stayed
read-only with no way to reload. The page now tracks the outstanding
load itself: Discard is refused only while a load or save is in flight,
a load error or a ten-second timeout ends the load, and Discard retries.

A save acknowledgement arriving after its timeout and after Discard had
started a reload replaced the saved state while the editor still showed
older text, so the next save would silently revert it. Acknowledgements
are ignored while a load is outstanding, and a reload forgets the last
save.

The component removes a lock whose token could not be written and
cleans up renamed stale locks with the abandoned staging files.
check_notes.py adds a failed load followed by a repaired file and
Discard; the previous package stays read-only there and fails.
2026-10-09 09:05:25 +00:00
..
check_app_data.py fix(appd): move only real app data and never replace a directory 2026-10-09 08:52:09 +00:00
check_counter.py fix(appd): authorize WebSocket clients by role and session 2026-10-09 07:45:49 +00:00
check_frame.py test: verify native pointer and keyboard input through weft-compositor 2026-10-09 01:18:53 +00:00
check_input.py test: verify native pointer and keyboard input through weft-compositor 2026-10-09 01:18:53 +00:00
check_notes.py fix(notes): keep Discard usable after a failed load 2026-10-09 09:05:25 +00:00
input.html test: verify native pointer and keyboard input through weft-compositor 2026-10-09 01:18:53 +00:00
reference.html fix(shells): paint and present Servo frames and report readiness truthfully 2026-10-09 01:02:26 +00:00
session.py test: verify native pointer and keyboard input through weft-compositor 2026-10-09 01:18:53 +00:00