Igalia / acacia

Library for inspecting accessibility APIs
https://igalia.github.io/acacia
GNU Lesser General Public License v2.1
8 stars 1 forks source link

Necessary for WPT test: wait on document load complete event #223

Open spectranaut opened 6 months ago

spectranaut commented 6 months ago

For testing browsers, we shouldn't run the test until we get the load complete event. In Atspi this is "document:load-complete" (see orca code for handing from chrome: https://github.com/GNOME/orca/blob/34ba2393fc64c0e82f47da3900c7de398a89c2cb/src/orca/scripts/toolkits/Chromium/script.py#L168)

Until we do this, any test we write will be flaky.

spectranaut commented 6 months ago

https://source.chromium.org/chromium/chromium/src/+/main:ui/accessibility/platform/inspect/ax_event_recorder_auralinux.cc;drc=5bf1a4a403490afa7294232e383a1750aefcc881;l=319