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

Issue 898743002: When an extension is unloaded, unregister all event listeners, not just the lazy ones. (Closed)

Created:
5 years, 10 months ago by Marijn Kruisselbrink
Modified:
5 years, 10 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@2272
Target Ref:
refs/pending/branch-heads/2272
Project:
chromium
Visibility:
Public.

Description

Merge to M41: When an extension is unloaded, unregister all event listeners, not just the lazy ones. This fixes a problem where event listeners could stick around for a short time period after an extension is unloaded, causing problems with the onInstalled event for a new version of an extension. BUG=449654 Review URL: https://codereview.chromium.org/877233002 Cr-Commit-Position: refs/heads/master@{#313556} (cherry picked from commit 1a3586c0467a2e2f3777c060616e787bc9535c19) TBR=kalman@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/390a35bd3dc185cd091df0a40ae05fcf6b35642e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -10 lines) Patch
M extensions/browser/event_listener_map.h View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/event_listener_map.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M extensions/browser/event_listener_map_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/event_router.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
Marijn Kruisselbrink
5 years, 10 months ago (2015-02-03 15:02:01 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
390a35bd3dc185cd091df0a40ae05fcf6b35642e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698