[ATK] Emit object:state-changed:busy event when aria-busy value changes
authorjdiggs@igalia.com <jdiggs@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 30 Apr 2017 09:56:31 +0000 (09:56 +0000)
committerjdiggs@igalia.com <jdiggs@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 30 Apr 2017 09:56:31 +0000 (09:56 +0000)
commitd91c682ca58edd3e36b56a05a7fe7df61515ae2d
tree9d24a5056b500145bf55afe1615a7eff2dc5af18
parent64250132d905dcb5fda5465bef173fbf4d3a95b7
[ATK] Emit object:state-changed:busy event when aria-busy value changes
https://bugs.webkit.org/show_bug.cgi?id=171181

Reviewed by Chris Fleizach.

Source/WebCore:

Emit object:state-changed:busy for AXElementBusyChanged notifications.

Test: accessibility/gtk/aria-busy-changed-notification.html

* accessibility/atk/AXObjectCacheAtk.cpp:
(WebCore::AXObjectCache::postPlatformNotification):

Tools:

Add handler for AXElementBusyChanged notifications.

* WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:

LayoutTests:

New test. Also update the expectations for menu-list-unfocused-notifications.html
because the addition of the handler for AXElementBusyChanged results in that
notification being output in the test results.

* accessibility/gtk/aria-busy-changed-notification-expected.txt: Added.
* accessibility/gtk/aria-busy-changed-notification.html: Added.
* accessibility/gtk/menu-list-unfocused-notifications-expected.txt: Updated.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@215985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/accessibility/gtk/aria-busy-changed-notification-expected.txt [new file with mode: 0644]
LayoutTests/accessibility/gtk/aria-busy-changed-notification.html [new file with mode: 0644]
LayoutTests/accessibility/gtk/menu-list-unfocused-notifications-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp
Tools/ChangeLog
Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp