Closed Bug 179490 Opened 22 years ago Closed 22 years ago

Save As Web Page Complete saves both the JavaScript and output of the JavaScript.

Categories

(Core :: DOM: Navigation, defect)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 115328

People

(Reporter: luke, Assigned: dougt)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016 If a page containing document.write() is saved to disk, then both the JavaScript source (ie. the document.write()) and the output of the document.write() are saved to the document. This means thats on the next load of the saved page, the written lines are duplicated. Reproducible: Always Steps to Reproduce: See attachments for example. Open the attached input file and save it to disk. Then reopen the saved file. Actual Results: There are two "hello world"s Expected Results: Mozilla should just save the JavaScript, giving just the one "hello world"
Attached file Input HTML (deleted) —
Attached file Output HTML (deleted) —
This is what I get saved when I try saving the input html to a file.
Dupe of bug 115328 (see bug 118792 comment 4 for why). *** This bug has been marked as a duplicate of 115328 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Please change the component when you mark the dupe.
Component: Networking: File → Embedding: Docshell
QA Contact: benc → adamlock
.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: