WEFT_OS/tests/frame
Marco Allegretti 551df84562
feat: let an application decline a close to keep unsaved changes
A package declares its unsaved-change policy in [ui].close. With
"ask", the app shell dispatches a cancelable weftclose event before
the window closes and waits up to 2 s for the page. A page that
cancels the close keeps running, and the app shell reports this to
weft-appd with its readiness token, which returns the session to
running. The page closes itself later with window.close().

Notes declares "ask". With unsaved changes it offers Save and close,
Close without saving, and Cancel. It closes after a save only once the
save is acknowledged. The taskbar shows a declined close as running
again.
2026-10-09 17:00:08 +00:00
..
confinement test(frame): make the worker and srcdoc confinement probes observable 2026-10-09 10:16:22 +00:00
check_activation.py fix(shells): release the rendering context and window before the display goes away 2026-10-09 16:29:22 +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_confinement.py fix(compositor): show the shell's home on a panel click and release a dead panel's strip 2026-10-09 16:06:19 +00:00
check_counter.py fix(appd): keep a closing session registered until it settles 2026-10-09 16:41:30 +00:00
check_frame.py Merge remote-tracking branch 'origin/fix/confine-app-renderer' into fix/resolve-verified-package 2026-10-09 10:18:47 +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 feat: let an application decline a close to keep unsaved changes 2026-10-09 17:00:08 +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 fix(compositor): reserve the taskbar strip and lay app windows out in the work area 2026-10-09 16:00:38 +00:00