[GTK] accessibility/menu-list-sends-change-notification.html has incorrect expected...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Aug 2013 22:35:14 +0000 (22:35 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Aug 2013 22:35:14 +0000 (22:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=120419

Patch by Denis Nomiyama <d.nomiyama@samsung.com> on 2013-08-28
Reviewed by Chris Fleizach.

Tools:

Added a notification for AXFocusedUIElementChanged.

* DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
(axObjectEventListener): Added a notification for AXFocusedUIElementChanged.

LayoutTests:

Updated the expected results according to the fix added to AccessibilityCallbacksAtk.cpp
where a notification was added for AXFocusedUIElementChanged.

* platform/gtk/accessibility/menu-list-sends-change-notification-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154781 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/platform/gtk/accessibility/menu-list-sends-change-notification-expected.txt
Tools/ChangeLog
Tools/DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp

index d9d281f4326c97940b797e8f978b2ef24dba25a1..14aef9cbcb395d798c71a63ca14f3e5130b7d0c1 100644 (file)
@@ -1,3 +1,15 @@
+2013-08-28  Denis Nomiyama  <d.nomiyama@samsung.com>
+
+        [GTK] accessibility/menu-list-sends-change-notification.html has incorrect expected results
+        https://bugs.webkit.org/show_bug.cgi?id=120419
+
+        Reviewed by Chris Fleizach.
+
+        Updated the expected results according to the fix added to AccessibilityCallbacksAtk.cpp
+        where a notification was added for AXFocusedUIElementChanged.
+
+        * platform/gtk/accessibility/menu-list-sends-change-notification-expected.txt:
+
 2013-08-28  Rob Buis  <rwlbuis@webkit.org>
 
         Namespace prefix is blindly followed when serializing
index 81de02f703d34095adbab85a47d3e16438bf6ee1..8e1a18779cf3725cb5b32b5de79e9a77ac30efbd 100644 (file)
@@ -4,4 +4,7 @@ This tests that changing the value of a menu list sends a notification even when
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+Got notification: AXFocusedUIElementChanged
+
+TEST COMPLETE
 
index 160567e68e2d1d11cc8a3ce896262cf653330dee..4fb82bb424d23def851c6034fc3d20bd72939d7f 100644 (file)
@@ -1,3 +1,15 @@
+2013-08-28  Denis Nomiyama  <d.nomiyama@samsung.com>
+
+        [GTK] accessibility/menu-list-sends-change-notification.html has incorrect expected results
+        https://bugs.webkit.org/show_bug.cgi?id=120419
+
+        Reviewed by Chris Fleizach.
+
+        Added a notification for AXFocusedUIElementChanged.
+
+        * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
+        (axObjectEventListener): Added a notification for AXFocusedUIElementChanged.
+
 2013-08-28  Roger Fong  <roger_fong@apple.com>
 
         Decrease number of workers used in NRWT by the Windows port.
index e89fd388cd2787183e27dbb954d324430727002c..33625da03d3172e83a785bbd289f0c5cfc85a3eb 100644 (file)
@@ -104,6 +104,7 @@ static gboolean axObjectEventListener(GSignalInvocationHint *signalHint, guint n
     } else if (!g_strcmp0(signalQuery.signal_name, "focus-event")) {
         signalName.set(g_strdup("focus-event"));
         signalValue.set(g_strdup_printf("%d", g_value_get_boolean(&paramValues[1])));
+        notificationName = "AXFocusedUIElementChanged";
     } else if (!g_strcmp0(signalQuery.signal_name, "children-changed")) {
         signalName.set(g_strdup("children-changed"));
         signalValue.set(g_strdup_printf("%d", g_value_get_uint(&paramValues[1])));