Closed Bug 313336 Opened 19 years ago Closed 19 years ago

Download Manager displays incorrect file size while downloading

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 260741

People

(Reporter: iamcanadian_2004, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

While downloading a file with Firefox, the filesize is calculated incorrectly.
Roughly speaking, a 1.9 Mb size file will be reported as a 2 MB file. This is
more noticeable as the file size increases ( a 10.8 Mb file is reported as an
11.1 Mb file).


Reproducible: Always

Steps to Reproduce:
1.Download any large enough file, like
http://sicp.csail.mit.edu/Fall-2005/SchemeImplementations/win32-6001.exe
2.After the downloader reaches the 2 Mb downloaded, click on pause
3.Check the size of the .part file on the directory where the file is being
downloaded

Actual Results:  
The file size was reported incorrectly on the download manager

Expected Results:  
Display the correct filesize after the downloader has passed the Mb line
Already fixed for Firefox 1.5.g

*** This bug has been marked as a duplicate of 260741 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.