User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060116 Firefox/1.6a1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060116 Firefox/1.6a1 Comments that start with "</" should be parsed the traditional way, i.e. close the comment upon the first ">", rather than as an "SGML" comment. Reproducible: Always Steps to Reproduce: 1. Open data:text/html,<!DOCTYPE html><p></-->PASS<!-->FAIL<! --> 2. 3. Actual Results: There are two comments, ">PASS<!" and " --". Expected Results: </--> should be parsed as a bogus comment, containing "--".
added reporter's testcase into URL:
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Priority: -- → P4
Hardware: PC → All
Target Milestone: --- → mozilla1.9alpha
Status: NEW → ASSIGNED
Created attachment 208751 [details] [diff] [review] Easy fix This ensures that strict comments do really start with <!--. It also fixes an illegal use of |static NS_NAMED_LITERAL_STRING(...)|.
Comment on attachment 208751 [details] [diff] [review] Easy fix r+sr=jst
Fix checked into trunk.
Status: ASSIGNED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.