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

Issue 1614453003: Speculative fix to a crash caused by hitting the dangerous download infobar. (Closed)

Created:
4 years, 11 months ago by qinmin
Modified:
4 years, 10 months ago
CC:
chromium-reviews, asanka
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Speculative fix to a crash caused by hitting the dangerous download infobar. There is no good explanation of the crash: 1. When clicking on a dangerous download, we set mPendingRequest and start the infobar. 2. When user dismiss the infobar, we reset mPendingRequest. 3. If mPendingRequest is non null, a 2nd request will not trigger any infobar. So at anytime, there are at most 1 dangerous infobar. And if mPendingRequest is non null, there should be an infobar showing, vice versa. So this a speculative fix to the crash from the crash stack we have seen. BUG=579707 Committed: https://crrev.com/7efc4d5ec2db8b17a7aa28723283524f6591cd6a Cr-Commit-Position: refs/heads/master@{#372153}

Patch Set 1 : #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/download/ChromeDownloadDelegate.java View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
qinmin
PTAL
4 years, 11 months ago (2016-01-20 23:52:06 UTC) #2
David Trainor- moved to gerrit
lgtm
4 years, 11 months ago (2016-01-22 17:36:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614453003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614453003/80001
4 years, 11 months ago (2016-01-22 17:47:46 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/162297) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 11 months ago (2016-01-22 17:49:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614453003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614453003/100001
4 years, 10 months ago (2016-01-28 19:42:43 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:100001)
4 years, 10 months ago (2016-01-28 20:31:06 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 20:32:13 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7efc4d5ec2db8b17a7aa28723283524f6591cd6a
Cr-Commit-Position: refs/heads/master@{#372153}

Powered by Google App Engine
This is Rietveld 408576698