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 669c605e6d2b2e752a3108ce65ca6168bbf45d56..5f0457578327c39220f41339c52a54a3bd93a93f 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs |
@@ -10,7 +10,9 @@ GEN_INCLUDE(['../../testing/chromevox_next_e2e_test_base.js']); |
* @constructor |
* @extends {ChromeVoxNextE2ETest} |
*/ |
-function CursorsTest() {} |
+function CursorsTest() { |
+ ChromeVoxNextE2ETest.call(this); |
+} |
CursorsTest.prototype = { |
__proto__: ChromeVoxNextE2ETest.prototype, |
@@ -107,13 +109,11 @@ CursorsTest.prototype = { |
if (!opt_testType || opt_testType == this.CURSOR) { |
var cursor = new cursors.Cursor(start, 0); |
this.cursorMoveAndAssert(cursor, moves); |
- testDone(); |
} else if (opt_testType == this.RANGE) { |
var range = new cursors.Range(cursor, cursor); |
this.rangeMoveAndAssert(range, moves); |
- testDone(); |
} |
- }.bind(this)); |
+ }); |
}, |
simpleDoc: function() {/*! |