Closed Bug 929067 Opened 7 years ago Closed 6 years ago
Canceling a download from the Downloads Panel sometimes pauses it instead
This was observed in bug 922137: - Download http://www.softpedia.com/dyn-postdownload.php?p=84329&t=4&i=1 - Cancel the download from the Downloads Panel - Restart the download, then cancel it again Sometimes, the download goes to the "paused" state instead of the "canceled" state.
This was caused by a race condition in the functions that handle asynchronous progress updates, that set hasPartialData to true again after it had been cleared by removePartialData.
Assignee: nobody → paolo.mozmail
Status: NEW → ASSIGNED
Attachment #8335599 - Flags: review?(enndeakin)
had to backout this change in https://hg.mozilla.org/integration/fx-team/rev/b4284cae2bff because of test failures after this checkin like https://tbpl.mozilla.org/php/getParsedLog.php?id=31373611&tree=Fx-Team
Pushed after green tryserver build (https://tbpl.mozilla.org/?tree=Try&rev=1fa836a41f8d): https://hg.mozilla.org/integration/fx-team/rev/8d1664e48b59
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.