Closed
Bug 221898
Opened 22 years ago
Closed 22 years ago
</script> in a string is erroneously parsed as an end of the script
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: f, Assigned: rogerl)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925
produces a flase script ending, and a script crash
Reproducible: Always
Steps to Reproduce:
just check my script...
Expected Results:
script crash
both in IE and Mozilla
Comment 1•22 years ago
|
||
That's not an error. See the dup'ed bug.
*** This bug has been marked as a duplicate of 32618 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Comment 2•22 years ago
|
||
Verified Duplicate -
The moral is: the HTML parser sees the file before the JS parser does.
Compare bug 175375 -
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•