| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
|
| index 8f9dd358d89566eef2a5ae599db8804ef6a18c1a..1c1f3202d3ff06cf3aa30a79950ee56320abfb57 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
|
| @@ -1154,3 +1154,17 @@ TEST_F('BackgroundTest', 'EditableNavigation', function() {
|
| .replay();
|
| });
|
| });
|
| +
|
| +TEST_F('BackgroundTest', 'NavigationMovesFocus', function() {
|
| + this.runWithLoadedTree(function(root) {/*!
|
| + <p>start</p>
|
| + <input type="text"></input>
|
| + */}, function(root) {
|
| + this.listenOnce(root, 'focus', function(e) {
|
| + var focus = ChromeVoxState.instance.currentRange.start.node;
|
| + assertEquals(RoleType.textField, focus.role);
|
| + assertTrue(focus.state.focused);
|
| + });
|
| + doCmd('nextEditText')();
|
| + });
|
| +});
|
|
|