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

Issue 9158002: Event listener not removed correctly in autocomplete list (Closed)

Created:
8 years, 11 months ago by Tyler Breisacher (Chromium)
Modified:
8 years, 11 months ago
Reviewers:
stuartmorgan
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Fix removeEventListener call in autocomplete_list.js so that it will actually remove the listener. If you add an event listener using addEventListener with the 3rd argument as |true|, you also need to call removeEventListener with the 3rd argument as |true|, otherwise it will not actually be removed. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117120

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/resources/options/autocomplete_list.js View 1 chunk +1 line, -1 line 1 comment Download
M chrome/browser/resources/options2/autocomplete_list.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Tyler Breisacher (Chromium)
Just a small issue I noticed while working on this autocomplete code. Simplified demo of ...
8 years, 11 months ago (2012-01-09 19:25:06 UTC) #1
stuartmorgan
LGTM Since you are working in this code, it would be great if you could ...
8 years, 11 months ago (2012-01-10 07:48:41 UTC) #2
Tyler Breisacher (Chromium)
8 years, 11 months ago (2012-01-11 00:14:34 UTC) #3

Powered by Google App Engine
This is Rietveld 408576698