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

Issue 666803002: Fix debug-only crash installing app from app launcher. (Closed)

Created:
6 years, 2 months ago by Matt Giuca
Modified:
6 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git/+/master
Project:
chromium
Visibility:
Public.

Description

Fix debug-only crash installing app from app launcher. Browser::ShowDownload does not try to close the web contents if there is no corresponding tab. This avoids hitting a NOTREACHED later on which checks for this case. BUG=424413 Committed: https://crrev.com/51307ca7a09f7be8da0572a7eff2b8e47bdb8d78 Cr-Commit-Position: refs/heads/master@{#301023}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase. #

Patch Set 3 : Added comment explaining why we don't close contents if there is no tab. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M chrome/browser/ui/browser.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 15 (2 generated)
Matt Giuca
6 years, 2 months ago (2014-10-20 00:03:51 UTC) #2
asanka
Does this also happen if a download is initiated from an iframe in a regular ...
6 years, 2 months ago (2014-10-20 15:10:13 UTC) #3
sky
https://codereview.chromium.org/666803002/diff/1/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/666803002/diff/1/chrome/browser/ui/browser.cc#newcode1301 chrome/browser/ui/browser.cc:1301: void Browser::ShowDownload(content::DownloadItem* download) { How do we end up ...
6 years, 2 months ago (2014-10-20 20:20:16 UTC) #4
Matt Giuca
> Does this also happen if a download is initiated from an > iframe in ...
6 years, 2 months ago (2014-10-21 00:22:03 UTC) #5
sky
https://codereview.chromium.org/666803002/diff/1/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/666803002/diff/1/chrome/browser/ui/browser.cc#newcode1301 chrome/browser/ui/browser.cc:1301: void Browser::ShowDownload(content::DownloadItem* download) { On 2014/10/21 00:22:03, Matt Giuca ...
6 years, 2 months ago (2014-10-21 03:14:08 UTC) #6
asanka
On 2014/10/21 03:14:08, sky wrote: > https://codereview.chromium.org/666803002/diff/1/chrome/browser/ui/browser.cc > File chrome/browser/ui/browser.cc (right): > > https://codereview.chromium.org/666803002/diff/1/chrome/browser/ui/browser.cc#newcode1301 > ...
6 years, 2 months ago (2014-10-21 15:39:59 UTC) #7
Matt Giuca
PS. asanka: Please reply to comments using the Reitveld comment UI to keep it all ...
6 years, 2 months ago (2014-10-21 22:59:15 UTC) #8
Matt Giuca
ping?
6 years, 1 month ago (2014-10-23 23:27:01 UTC) #9
sky
LGTM - please add a comment as to when and why we end up in ...
6 years, 1 month ago (2014-10-24 00:06:36 UTC) #10
Matt Giuca
Done.
6 years, 1 month ago (2014-10-24 00:28:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/666803002/40001
6 years, 1 month ago (2014-10-24 00:30:23 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-10-24 01:43:50 UTC) #14
commit-bot: I haz the power
6 years, 1 month ago (2014-10-24 01:45:00 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/51307ca7a09f7be8da0572a7eff2b8e47bdb8d78
Cr-Commit-Position: refs/heads/master@{#301023}

Powered by Google App Engine
This is Rietveld 408576698