WEFT_OS/tests/frame
Marco Allegretti 7cf8639ae3
fix(compositor): bind each app session's Wayland client to its session through appd
The compositor stored appd's (pid, session) announcements and never used
them, so no surface could be attributed to a session and any client
could claim any app ID or the panel role.

weft-appd now creates a connected socket pair for each session, gives
the app shell one end as standard input with WAYLAND_SOCKET=0 and no
WAYLAND_DISPLAY, and sends the other end to the compositor with the
session and app ID over the compositor IPC socket (SCM_RIGHTS). The
compositor inserts it as a client bound to that session: holding the
connection is the session's identity. A session's zweft_shell windows
carry its app ID, the panel and overlay roles are refused to sessions
with a new role_not_permitted error, the session's first toplevel is
reported to appd, an ended session's client is closed, and a client's
disconnection is reported. The compositor accepts one appd connection
at a time.

The counter desktop check now requires the compositor to bind the app's
client to its session and to close it when the session is terminated.
2026-10-09 15:07:33 +00:00
..
confinement test(frame): make the worker and srcdoc confinement probes observable 2026-10-09 10:16: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 test(frame): make the worker and srcdoc confinement probes observable 2026-10-09 10:16:22 +00:00
check_counter.py fix(compositor): bind each app session's Wayland client to its session through appd 2026-10-09 15:07:33 +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 fix(notes): show loading status and check the editor after a failed load 2026-10-09 09:07:27 +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