Closed Bug 191100 Opened 22 years ago Closed 21 years ago

composer includes javascript output in html (document.write)

Categories

(SeaMonkey :: Composer, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: u32858, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 After editing html with javascript the document.write() output is added as text in the document Reproducible: Sometimes Steps to Reproduce: 1.edit my CV 2.save it 3.see that text has been added after the javascript code Actual Results: this was added: <font size="-1">Netscape <i>(Mozilla</i>) Ver 5.0 (X11; en-US) at 1280x1024 24bpp resolution.</font> </p> Expected Results: no extra added text
Summary: composer includes javascript output in html → composer includes javascript output in html (document.write)
Attached file javascript test case
open in composer, edit, save, see the "updated on xxxx" test is now duplicated in the web page
OK the attatchment illustrates this problem JG
Just testing with 1.3 20030312 and cant replicate can someone else try to edit, save and re-open to see if this bug is still present please? JG
The testcase seems to work fine in 1.5, it doesn't modify the code or crash. However, the document.write result doesn't appear in the Preview tab.
The Preview tab is still an editor, and JavaScript is disabled in the editor. So the behavior you see is normal. Closing WFM after test : cannot reproduce.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: