Open Bug 838816 Opened 11 years ago Updated 4 months ago

Use common code to monitor download progress in both taskbar and DownloadsUI

Categories

(Firefox :: Downloads Panel, task, P3)

x86_64
macOS
task

Tracking

()

UNCONFIRMED

People

(Reporter: dave, Unassigned)

Details

Firefox monitors downloads and displays a summary progress bar in two places: The Windows 7 taskbar[1], and the new DownloadsUI toolbar button[2]. Each of these has its own code for subscribing to changes in downloads, and for summarizing the progress. They are slightly different, but substantially similar.

Ideally the same code would be used for both of these. It would probably be easiest to make the taskbar subscribe to DownloadsIndicatorData for updates.

[1] http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/downloads/DownloadTaskbarProgress.jsm
[2] http://mxr.mozilla.org/mozilla-central/source/browser/components/downloads/src/DownloadsCommon.jsm
Severity: normal → S3
Severity: S3 → N/A
Type: defect → task
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.