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

Issue 10867049: fix browser crash when closing 2 or more tabs running getUserMedia (Closed)

Created:
8 years, 4 months ago by no longer working on chromium
Modified:
8 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

We should not delete the iter if iter == tabs_.end() BUG=144318 TEST=manual test: 1) Three tabs, each pointing to a page that makes a getUserMedia request. For some reason, I can't seem to repro this bug with just two tabs. 2) Click Allow in the infobar of each tab 3) Right click any of those tabs and select "Close other tabs" Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153465

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -16 lines) Patch
M chrome/browser/media/media_stream_capture_indicator.cc View 1 chunk +16 lines, -16 lines 5 comments Download

Messages

Total messages: 7 (0 generated)
no longer working on chromium
Hi Ami, could you please take a quick look at this fix?
8 years, 4 months ago (2012-08-24 12:20:05 UTC) #1
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10867049/diff/1/chrome/browser/media/media_stream_capture_indicator.cc File chrome/browser/media/media_stream_capture_indicator.cc (right): https://chromiumcodereview.appspot.com/10867049/diff/1/chrome/browser/media/media_stream_capture_indicator.cc#newcode429 chrome/browser/media/media_stream_capture_indicator.cc:429: if (iter != tabs_.end()) { Do you understand how ...
8 years, 4 months ago (2012-08-24 17:57:57 UTC) #2
no longer working on chromium
http://codereview.chromium.org/10867049/diff/1/chrome/browser/media/media_stream_capture_indicator.cc File chrome/browser/media/media_stream_capture_indicator.cc (right): http://codereview.chromium.org/10867049/diff/1/chrome/browser/media/media_stream_capture_indicator.cc#newcode429 chrome/browser/media/media_stream_capture_indicator.cc:429: if (iter != tabs_.end()) { On 2012/08/24 17:57:57, Ami ...
8 years, 4 months ago (2012-08-24 18:09:58 UTC) #3
Ami GONE FROM CHROMIUM
LGTM http://codereview.chromium.org/10867049/diff/1/chrome/browser/media/media_stream_capture_indicator.cc File chrome/browser/media/media_stream_capture_indicator.cc (right): http://codereview.chromium.org/10867049/diff/1/chrome/browser/media/media_stream_capture_indicator.cc#newcode448 chrome/browser/media/media_stream_capture_indicator.cc:448: UpdateStatusTrayIconContextMenu(); On 2012/08/24 18:09:58, xians1 wrote: > On ...
8 years, 4 months ago (2012-08-24 18:21:41 UTC) #4
no longer working on chromium
> > I don't know the code to make a call. It's up to you. ...
8 years, 3 months ago (2012-08-27 09:18:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/10867049/1
8 years, 3 months ago (2012-08-27 09:19:02 UTC) #6
commit-bot: I haz the power
8 years, 3 months ago (2012-08-27 12:06:18 UTC) #7
Change committed as 153465

Powered by Google App Engine
This is Rietveld 408576698