Title: [188713] trunk/LayoutTests
- Revision
- 188713
- Author
- [email protected]
- Date
- 2015-08-20 15:51:21 -0700 (Thu, 20 Aug 2015)
Log Message
AX: Fix accessibility/mac/selection-value-changes-for-aria-textbox.html test
https://bugs.webkit.org/show_bug.cgi?id=148247
Patch by Nan Wang <[email protected]> on 2015-08-20
Reviewed by Chris Fleizach.
Fixed the test by adding the notification listener before executing the commands.
* accessibility/mac/selection-value-changes-for-aria-textbox-expected.txt:
* accessibility/mac/selection-value-changes-for-aria-textbox.html:
* platform/mac/TestExpectations:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (188712 => 188713)
--- trunk/LayoutTests/ChangeLog 2015-08-20 22:37:22 UTC (rev 188712)
+++ trunk/LayoutTests/ChangeLog 2015-08-20 22:51:21 UTC (rev 188713)
@@ -1,3 +1,16 @@
+2015-08-20 Nan Wang <[email protected]>
+
+ AX: Fix accessibility/mac/selection-value-changes-for-aria-textbox.html test
+ https://bugs.webkit.org/show_bug.cgi?id=148247
+
+ Reviewed by Chris Fleizach.
+
+ Fixed the test by adding the notification listener before executing the commands.
+
+ * accessibility/mac/selection-value-changes-for-aria-textbox-expected.txt:
+ * accessibility/mac/selection-value-changes-for-aria-textbox.html:
+ * platform/mac/TestExpectations:
+
2015-08-20 Chris Dumez <[email protected]>
Default value for createNodeIterator() / createTreeWalker()'s whatToShow parameter should be 0xFFFFFFFF
Modified: trunk/LayoutTests/accessibility/mac/selection-value-changes-for-aria-textbox-expected.txt (188712 => 188713)
--- trunk/LayoutTests/accessibility/mac/selection-value-changes-for-aria-textbox-expected.txt 2015-08-20 22:37:22 UTC (rev 188712)
+++ trunk/LayoutTests/accessibility/mac/selection-value-changes-for-aria-textbox-expected.txt 2015-08-20 22:51:21 UTC (rev 188713)
@@ -11,6 +11,5 @@
Successfully received AXSelectedTextChanged
Successfully received AXSelectedTextChanged
Successfully received AXSelectedTextChanged
-Successfully received AXSelectedTextChanged
Successfully received AXValueChanged
Modified: trunk/LayoutTests/accessibility/mac/selection-value-changes-for-aria-textbox.html (188712 => 188713)
--- trunk/LayoutTests/accessibility/mac/selection-value-changes-for-aria-textbox.html 2015-08-20 22:37:22 UTC (rev 188712)
+++ trunk/LayoutTests/accessibility/mac/selection-value-changes-for-aria-textbox.html 2015-08-20 22:51:21 UTC (rev 188713)
@@ -36,6 +36,9 @@
textbox.focus();
var axTextbox = accessibilityController.focusedElement;
+
+ var addedNotification = axTextbox.addNotificationListener(notificationCallback);
+ shouldBe("addedNotification", "true");
// Trigger selection changes.
var s = window.getSelection();
@@ -46,9 +49,6 @@
// Trigger value change.
document.execCommand("InsertText", false, "hello ");
-
- var addedNotification = axTextbox.addNotificationListener(notificationCallback);
- shouldBe("addedNotification", "true");
}
</script>
Modified: trunk/LayoutTests/platform/mac/TestExpectations (188712 => 188713)
--- trunk/LayoutTests/platform/mac/TestExpectations 2015-08-20 22:37:22 UTC (rev 188712)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2015-08-20 22:51:21 UTC (rev 188713)
@@ -490,7 +490,6 @@
http/tests/misc/willCacheResponse-delegate-callback.html [ Failure ]
http/tests/xmlhttprequest/basic-auth-nopassword.html [ Failure ]
-accessibility/mac/selection-value-changes-for-aria-textbox.html [ Failure ]
accessibility/mac/search-with-frames.html [ Pass Failure ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes