Bug 234665

Summary: [GTK][a11y] Test /webkit/WebKitAccessibility/selection/listbox is flaky with ATSPI
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, andresg_22, aperez, apinheiro, bugs-noreply, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white
Priority: P2 Keywords: Gtk
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 230253    
Attachments:
Description Flags
Patch aperez: review+

Description Carlos Garcia Campos 2021-12-24 08:25:12 PST
The problem is that selection-changed can be called multiple times for list boxes. When the notification is deferred by the AXObject cache, it's ensured to be called only one for every element in the following run loop iteration, but when not deferred the signal is emitted for every notification.
Comment 1 Carlos Garcia Campos 2021-12-24 08:29:15 PST
Created attachment 447940 [details]
Patch
Comment 2 Carlos Garcia Campos 2021-12-26 23:36:17 PST
Committed r287455 (245590@trunk): <https://commits.webkit.org/245590@trunk>