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

Issue 2134008: Fix browser crash when refreshing extensions.... (Closed)

Created:
10 years, 7 months ago by Finnur
Modified:
9 years, 6 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Fix browser crash when refreshing extensions. If you have two extensions with page actions, you can get into a state where it crashes if you refresh Extension A, then Extension B and Extension A again. BUG=http://crbug.com/44415 TEST=Covered by new test ExtensionBrowserTest.PageActionRefreshCrash Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=47722

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

Messages

Total messages: 4 (0 generated)
Finnur
10 years, 7 months ago (2010-05-19 18:26:40 UTC) #1
Matt Perry
LGTM. Good detective work. http://codereview.chromium.org/2134008/diff/1/5 File chrome/test/data/extensions/browsertest/crash_44415/ExtA/background.html (right): http://codereview.chromium.org/2134008/diff/1/5#newcode4 chrome/test/data/extensions/browsertest/crash_44415/ExtA/background.html:4: chrome.tabs.onUpdated.addListener(function(tabId) Where does this onUpdated ...
10 years, 7 months ago (2010-05-19 20:21:44 UTC) #2
Finnur
> Where does this onUpdated event come from? The test doesn't > seem to navigate ...
10 years, 7 months ago (2010-05-19 20:45:50 UTC) #3
Matt Perry
10 years, 7 months ago (2010-05-19 21:02:03 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698