| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs
|
| index 74168c30169d7a3bb0463a572967c8dc7125b053..7461eca403c375385e2ab653c65b61e00c18ad40 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs
|
| @@ -123,9 +123,11 @@ TEST_F('AutomationUtilE2ETest', 'GetDirection', function() {
|
| // Same node.
|
| assertEquals(Dir.FORWARD, AutomationUtil.getDirection(left, right));
|
|
|
| - // Ancestor.
|
| + // Ancestry.
|
| left = left.firstChild;
|
| - assertEquals(Dir.FORWARD, AutomationUtil.getDirection(left, right));
|
| + // Upward movement is backward (in dfs).
|
| + assertEquals(Dir.BACKWARD, AutomationUtil.getDirection(left, right));
|
| + // Downward movement is forward.
|
| assertEquals(Dir.FORWARD, AutomationUtil.getDirection(right, left));
|
|
|
| // Ordered.
|
|
|