Closed Bug 90236 Opened 24 years ago Closed 24 years ago

if parsing a javascript if "</SCRIPT>" is used within a string the script is terminated

Categories

(Core :: DOM: HTML Parser, defect)

x86
Other
defect
Not set
normal

Tracking

()

VERIFIED WONTFIX

People

(Reporter: vladimire, Assigned: harishd)

Details

Attachments

(1 file)

If you have a "</SCRIPT>" somewhere in your script the rest of it is interpreted as part of the HTML code, as if the script was ending at that location. See the testcase for illustration. using build 2001-07-10-05-0.9.2 windows 98. The same bug occurs in netscape 4.x and IE, but this still is not correct behaviour.
We behave exactly as Nav 4.x and IE. Marking WONTFIX.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
Is there a particular reason for doing this? This behaviour seems strange to me.
QA Contact: bsharma → moied
Verified WONTFIX.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: