Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Unified Diff: third_party/WebKit/LayoutTests/accessibility/inline-text-word-boundaries.html

Issue 1435113003: Make use of new AX name calc in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with ariaTextAlternative Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/accessibility/inline-text-word-boundaries.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/inline-text-word-boundaries.html b/third_party/WebKit/LayoutTests/accessibility/inline-text-word-boundaries.html
index 9fe64f43df7c9df437aad9b073a6d9d450ba4d35..8bc5cbe1a2d89ecda2b3e2fde5d63b9a73e01c79 100644
--- a/third_party/WebKit/LayoutTests/accessibility/inline-text-word-boundaries.html
+++ b/third_party/WebKit/LayoutTests/accessibility/inline-text-word-boundaries.html
@@ -25,7 +25,7 @@ Ace ten twenty-one thirty-five. xxxxxxxxxxxxxxxxxxx
if (window.accessibilityController) {
var axParagraph = accessibilityController.accessibleElementById('paragraph');
var axStaticText = axParagraph.childAtIndex(0);
- var text = axStaticText.stringValue.substr(9);
+ var text = axStaticText.name;
debug("Accessible text: \"" + text + "\"");
for (var i = 0; i < text.length; i++) {

Powered by Google App Engine
This is Rietveld 408576698