Compute download speed and throttle notifications

RESOLVED FIXED in mozilla26

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: Paolo, Assigned: Paolo)

Tracking

Trunk
mozilla26
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
The JavaScript API for downloads should compute the current speed of
in-progress downloads, and limit the rate of progress notifications.

Comment 1

5 years ago
Will this mean download speeds will be shown in the UI?
(Assignee)

Comment 2

5 years ago
(In reply to Waka_Flocka_Flame from comment #1)
> Will this mean download speeds will be shown in the UI?

The speed is already shown in the Library window, and there are plans to show the
current speed in the Downloads Panel also, yes.

Comment 3

5 years ago
okay
(Assignee)

Updated

5 years ago
Assignee: nobody → paolo.mozmail
Status: NEW → ASSIGNED
(Assignee)

Comment 4

5 years ago
Created attachment 787488 [details] [diff] [review]
The patch

This also fixes a typo that affected removing items from the Downloads Panel.

This cannot be tested automatically since it's time-based. I tested it manually
by seeing that the download speed and the remaining time is now correctly
reported in the Library window for in-progress downloads.
Attachment #787488 - Flags: review?(enndeakin)

Updated

5 years ago
Attachment #787488 - Flags: review?(enndeakin) → review+
https://hg.mozilla.org/mozilla-central/rev/573d656dadcf
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Download speed is shown only on Library->Downloads. It is not shown on the Downloads Panel. Only remaining time and download indicator are displayed.

OS: Windows 7x64 
Build: Latest Nightly27 BuildID: 20131009055629
QA Contact: mihai.morar
You need to log in before you can comment on or make changes to this bug.