Closed Bug 283622 Opened 20 years ago Closed 20 years ago

"Save page as" saves both the call to the javascript function as well as the current dynamic HTML content generated by function

Categories

(Core Graveyard :: File Handling, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 115328

People

(Reporter: markfunk, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050224 Firefox/1.0+

I have a javascript function call in the <body> of a page:
    <script language="JavaScript" type="text/javascript">
        passwdFieldCreate("console");
    </script>
which generates HTML code dynamically when the page is loaded.

If you asve this page (using Firefox 1.0 or Mozilla 1.7.3) 
using "File->Save page as" with "Web page, complete",
the saved page contains both this javascript code as well as the 
dynamically generated HTML.

Reproducible: Always



Expected Results:  
I expect to only see the javascript code. Not the dynamically generated code.
My expectations are what IE and Opera currently do.

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