Closed Bug 414218 Opened 17 years ago Closed 17 years ago

Save Page As with Web Page Complete and name change causes Downloads window to incorrectly show 0 bytes transferred

Categories

(Toolkit :: Downloads API, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 405107

People

(Reporter: StenBiz, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2008012704 Minefield/3.0b3pre Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2008012704 Minefield/3.0b3pre When using Save Page As with the "Web Page, Complete" option, if the file name is changed, the save proceeds correctly but the amount transferred in the Downloads window shows as "0 bytes". Reproducible: Always Steps to Reproduce: 1. Navigate to http://www.mozilla.org 2. Command File> Save Page As. In popup at bottom select Web Page, complete. In Save As text field enter test.html. Click Save. 3. The Downloads window opens and you will see an entry for test.html with the notation "0 bytes - mozilla.org". 4. Command File> Save Page As, then click Save without changing the file name. You will see that the new entry also says "0 bytes - mozilla.org". 5. Command File> Save Page As, then click Save without changing the file name. You will get an alert: Mozilla.org - Home of the Mozilla Project.html" already exists. Do you want to replace it? Click Replace. Observe that the entry in Downloads shows the size as 12.5 KB. 6. Note: all saves work correctly, even though some say 0 bytes were transferred. 7. Note: 12.5 KB is the size of the HTML file only and does not include the folder of referenced files. As designed? Actual Results: Steps 3 and 4 show size as 0 bytes. This gives the false impression that nothing was transferred. Expected Results: Steps 3 and 4 should show size as larger than 0 bytes.
Thanks for the detailed bug; this is bug 405107.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.