Closed
Bug 4370
Opened 26 years ago
Closed 26 years ago
Comment parsing
Categories
(Core :: JavaScript Engine, defect, P3)
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>
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 1•26 years ago
|
||
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.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 3•26 years ago
|
||
Verified Invalid
You need to log in
before you can comment on or make changes to this bug.
Description
•