Closed Bug 4370 Opened 26 years ago Closed 26 years ago

Comment parsing

Categories

(Core :: JavaScript Engine, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: giscardg, Assigned: norrisboyd)

Details

When putting a </script> tag within a comment the browser takes this as the end of the <script> tag. I tried with both /* </script> *> and // </script>
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
This is correct behavior. (Try it with current browsers.) The HTML parser runs and then the JavaScript parser is given the text between <script> and </script>, so the JavaScript parser has no opportunity to affect the parsing of the script tags.
Changing component to "Javascript Engine". "Javascript" component is being retired.
Status: RESOLVED → VERIFIED
Verified Invalid
You need to log in before you can comment on or make changes to this bug.