Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs |
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs |
index 0044aee10336c3cbc14e84c949ebcf0f7c26850e..a50f159acf76f5b7ca7a8ef45037b55e7ef35ac2 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs |
@@ -88,7 +88,7 @@ CursorsTest.prototype = { |
if (goog.isDef(expected.index)) |
assertEquals(expected.index, cursor.index); |
if (goog.isDef(expected.value)) |
- assertEquals(expected.value, cursor.node.value); |
+ assertEquals(expected.value, cursor.node.name); |
}, |
/** |
@@ -280,16 +280,16 @@ TEST_F('CursorsTest', 'DontSplitOnNodeNavigation', function() { |
var cursor = new cursors.Cursor(para, 0); |
cursor = cursor.move(DOM_NODE, DIRECTIONAL, FORWARD); |
assertEquals('staticText', cursor.node.role); |
- assertEquals('end', cursor.node.value); |
+ assertEquals('end', cursor.node.name); |
cursor = cursor.move(DOM_NODE, DIRECTIONAL, BACKWARD); |
assertEquals('staticText', cursor.node.role); |
- assertEquals('start diff line', cursor.node.value); |
+ assertEquals('start diff line', cursor.node.name); |
assertEquals('inlineTextBox', cursor.node.firstChild.role); |
- assertEquals('start ', cursor.node.firstChild.value); |
- assertEquals('diff ', cursor.node.firstChild.nextSibling.value); |
- assertEquals('line', cursor.node.lastChild.value); |
+ assertEquals('start ', cursor.node.firstChild.name); |
+ assertEquals('diff ', cursor.node.firstChild.nextSibling.name); |
+ assertEquals('line', cursor.node.lastChild.name); |
}); |
}); |