Closed Bug 514396 Opened 15 years ago Closed 15 years ago

Save as "Web page, HTML only" gives wrong result for page generated by javascript

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 472895

People

(Reporter: msm, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13

The demo URL is a javascript program to design a tile pattern. To save a design, the "Save" button on the page generates a new page (using javascript) containing only the current design (without any javascript). The aim is to save this page to disk. In format "Web page, complete" this works. In format "Web page, HTML only" a copy of the original javascript is saved.

Reproducible: Always

Steps to Reproduce:
1. Goto the URL above
2. Drag one or more tiles from the palette to the design area.
3. Press the "Save" button near the top right of the page.
4. Save the newly created window as "HTML only". 
Actual Results:  
Firefox saves a copy of the main "Designer" window.

Expected Results:  
Firefox should have saved the curent design, as displayed when doing "View -> Page source" on the newly created window.

The same thing happens under Solaris using 
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.1.20) Gecko/20090108 Firefox/2.0.0.20
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.