| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Include test fixture. | 5 // Include test fixture. |
| 6 GEN_INCLUDE(['chrome/browser/resources/chromeos/chromevox/testing/' + | 6 GEN_INCLUDE(['chromevox_e2e_test_base.js']); |
| 7 'chromevox_e2e_test_base.js']); | |
| 8 | 7 |
| 9 /** | 8 /** |
| 10 * Base test fixture for ChromeVox Next end to end tests. | 9 * Base test fixture for ChromeVox Next end to end tests. |
| 11 * | 10 * |
| 12 * These tests are identical to ChromeVoxE2ETests except for performing the | 11 * These tests are identical to ChromeVoxE2ETests except for performing the |
| 13 * necessary setup to run ChromeVox Next. | 12 * necessary setup to run ChromeVox Next. |
| 14 * @constructor | 13 * @constructor |
| 15 * @extends {ChromeVoxE2ETest} | 14 * @extends {ChromeVoxE2ETest} |
| 16 */ | 15 */ |
| 17 function ChromeVoxNextE2ETest() { | 16 function ChromeVoxNextE2ETest() { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 37 | 36 |
| 38 r.removeEventListener(listener); | 37 r.removeEventListener(listener); |
| 39 callback && callback(evt.target); | 38 callback && callback(evt.target); |
| 40 callback = null; | 39 callback = null; |
| 41 }; | 40 }; |
| 42 r.addEventListener('loadComplete', listener, true); | 41 r.addEventListener('loadComplete', listener, true); |
| 43 this.runWithTab(doc); | 42 this.runWithTab(doc); |
| 44 }.bind(this)); | 43 }.bind(this)); |
| 45 } | 44 } |
| 46 }; | 45 }; |
| OLD | NEW |