Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2770)

Unified Diff: chrome/browser/resources/options/autocomplete_list.js

Issue 9158002: Event listener not removed correctly in autocomplete list (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/options2/autocomplete_list.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/autocomplete_list.js
diff --git a/chrome/browser/resources/options/autocomplete_list.js b/chrome/browser/resources/options/autocomplete_list.js
index 2aeb195cb5bd053998e584d11faa2daf2621a98f..c5cf3c152964e5b70a906a38b697ebe451cc6d0f 100644
--- a/chrome/browser/resources/options/autocomplete_list.js
+++ b/chrome/browser/resources/options/autocomplete_list.js
@@ -173,7 +173,7 @@ cr.define('options', function() {
if (!input)
return;
- input.removeEventListener('keydown', this.textFieldKeyHandler_);
+ input.removeEventListener('keydown', this.textFieldKeyHandler_, true);
input.removeEventListener('input', this.textFieldInputHandler_);
this.targetInput_ = null;
this.suggestions = [];
« no previous file with comments | « no previous file | chrome/browser/resources/options2/autocomplete_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698