Index: third_party/WebKit/LayoutTests/accessibility/inline-text-bidi-bounds-for-range.html |
diff --git a/third_party/WebKit/LayoutTests/accessibility/inline-text-bidi-bounds-for-range.html b/third_party/WebKit/LayoutTests/accessibility/inline-text-bidi-bounds-for-range.html |
index 7996a325baed8e6765ce3b290177c87a98af1d08..ed0985a614ff774341138fe064ec31ca7c498c20 100644 |
--- a/third_party/WebKit/LayoutTests/accessibility/inline-text-bidi-bounds-for-range.html |
+++ b/third_party/WebKit/LayoutTests/accessibility/inline-text-bidi-bounds-for-range.html |
@@ -34,7 +34,7 @@ one two אחתשתיים three four שלושהארבעה |
// Get the bounds from the accessibility tree. |
var axParagraph = accessibilityController.accessibleElementById(elementId); |
var axStaticText = axParagraph.childAtIndex(0); |
- var text = axStaticText.stringValue.substr(9); |
+ var text = axStaticText.name; |
var wordAxIndex = text.indexOf(word); |
eval('window.axBounds = ' + axStaticText.boundsForRange(wordAxIndex, wordAxIndex + word.length) + ';'); |