Closed
Bug 364711
Opened 19 years ago
Closed 19 years ago
Save Page As (Complete) doesn't save the original (unchanged) HTML-Page but the internal representation of the HTML-Page after JavaScript has been applied
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 115328
People
(Reporter: demitsch, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
After saving a page complete (with all the CSS and JavaScript files) and then viewing the saved page with Firefox again, you'll notice a difference to the original page as delivered when viewed on the internet, if this page contains JavaScript that changes the DOM. As far as I looked into this issue it seems that Firefox saves the content of the page after the JavaScript has been applied. When viewing the saved page the JavaScript is applied once again to the already per JavaScript augmented page leading to ugly effects.
Reproducible: Always
Steps to Reproduce:
1. Make sure JavaScript is enabled
2. Go to http://openrico.org/rico/demos.page?demo=rico_corner.
On this page the JavaScript manipulates the DOM to round the corners of the displayed boxes.
2. Save Page As (Complete) to demos.page
3. Review demos.page.htm again.
Actual Results:
It looks ugly because JavaScript is now applied to the saved html page that contains the already JavaScript augmented version of the original page.
Expected Results:
No difference to the original page when viewed on the internet.
Issue happens only on Firefox 2.0 and 2.0.0.1. No Problem with Firefox 1.5.0.8.
IMO it would be better to save the original page by reloading it from the specified URI and writing the unchanged content to the disk along with the referenced CSS and JavaScript files.
Comment 1•19 years ago
|
||
This looks like a duplicate of Bug 115328
Comment 2•19 years ago
|
||
Indeed.
*** This bug has been marked as a duplicate of 115328 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•