Closed Bug 929067 Opened 11 years ago Closed 11 years ago

Canceling a download from the Downloads Panel sometimes pauses it instead

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: Paolo, Assigned: Paolo)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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.
Attached patch The patch (deleted) — Splinter Review
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)
Attachment #8335599 - Flags: review?(enndeakin) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: