Index: chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js |
index 5a84dc2baad28209608a708d9ec32088c9f01a34..bb9f1fb011a756ffce9b50c9b85603a1600a47eb 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js |
+++ b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js |
@@ -39,7 +39,7 @@ ChromeVoxNextE2ETest.prototype = { |
evt.target.docUrl.indexOf('test') == -1) |
return; |
- r.removeEventListener(listener); |
+ r.removeEventListener('loadComplete', listener, true); |
callback && callback(evt.target); |
callback = null; |
}; |