Reproducible: Always Steps to Reproduce: 1. Go to https://bugzilla.mozilla.org/attachment.cgi?id=237739 2. File -> Save Page As... and click Save Expected Results: The file saved on the local disk matches the file sent from the server. Actual Results: The newlines in the file saved do not match the file sent from the server. If you use View -> Page Source you can see where the newlines are in the file sent from the server. I can reproduce this problem in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060921 Minefield/3.0a1 and ozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20060919 SeaMonkey/1.1b.
How is this networking? As I understand it, FF saves the page as stored in memory, not as received from the server (there was a lot of discussion, I think). So I suspect the bug is either a dupe or invalid.
Is this not a duplicate of the "contents of page saved using Save Page As don't match what's shown in View Source" bug?
The only differences I see are at the top of the document, inside and before the HEAD element. Seems reasonable to me that whitespace there does not make it into the DOM.
I confirm this in latest nightly. Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/2006112804 Minefield/3.0a1
*** This bug has been marked as a duplicate of 343843 ***