Closed Bug 278898 Opened 20 years ago Closed 20 years ago

When download of a file over 2GB in size and passed the 2GB download mark, the size and speed is shown as negative.

Categories

(Toolkit :: Downloads API, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 228968

People

(Reporter: tdeng, Assigned: bugs)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 32bit integer overflow. The download manager will display negative download size and speed once a file of over 2GB in size is being downloaded and has passed 2GB of download. In my case, the download manager did not recognize the overall size of the download file when this happened. Do not know if this bug occurs if the download manager do know the size of the file. Reproducible: Always Steps to Reproduce: 1. Download a 3GB file. 2. After 2GB of download, the downloaded amount becomes negative and the speed is negative. 3. Download finishes. Actual Results: The results can be seen in the download manager. Expected Results: Used long integers so that the size does not go into negative territory.
*** This bug has been marked as a duplicate of 228968 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.