Bug 234665 - [GTK][a11y] Test /webkit/WebKitAccessibility/selection/listbox is flaky with ATSPI
Summary: [GTK][a11y] Test /webkit/WebKitAccessibility/selection/listbox is flaky with ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks: ATSPI
  Show dependency treegraph
 
Reported: 2021-12-24 08:25 PST by Carlos Garcia Campos
Modified: 2021-12-26 23:36 PST (History)
11 users (show)

See Also:


Attachments
Patch (2.72 KB, patch)
2021-12-24 08:29 PST, Carlos Garcia Campos
aperez: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>