[GTK] accessibility/menu-list-sends-change-notification.html has incorrect expected results

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: http://svn.webkit.org/repository/webkit/trunk@154781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 590e91cd
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> 2013-08-28 Rob Buis <rwlbuis@webkit.org>
Namespace prefix is blindly followed when serializing Namespace prefix is blindly followed when serializing
...@@ -4,4 +4,7 @@ This tests that changing the value of a menu list sends a notification even when ...@@ -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". On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Got notification: AXFocusedUIElementChanged
TEST COMPLETE
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> 2013-08-28 Roger Fong <roger_fong@apple.com>
Decrease number of workers used in NRWT by the Windows port. Decrease number of workers used in NRWT by the Windows port.
......
...@@ -104,6 +104,7 @@ static gboolean axObjectEventListener(GSignalInvocationHint *signalHint, guint n ...@@ -104,6 +104,7 @@ static gboolean axObjectEventListener(GSignalInvocationHint *signalHint, guint n
} else if (!g_strcmp0(signalQuery.signal_name, "focus-event")) { } else if (!g_strcmp0(signalQuery.signal_name, "focus-event")) {
signalName.set(g_strdup("focus-event")); signalName.set(g_strdup("focus-event"));
signalValue.set(g_strdup_printf("%d", g_value_get_boolean(&paramValues[1]))); signalValue.set(g_strdup_printf("%d", g_value_get_boolean(&paramValues[1])));
notificationName = "AXFocusedUIElementChanged";
} else if (!g_strcmp0(signalQuery.signal_name, "children-changed")) { } else if (!g_strcmp0(signalQuery.signal_name, "children-changed")) {
signalName.set(g_strdup("children-changed")); signalName.set(g_strdup("children-changed"));
signalValue.set(g_strdup_printf("%d", g_value_get_uint(&paramValues[1]))); signalValue.set(g_strdup_printf("%d", g_value_get_uint(&paramValues[1])));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment