{"tests": [ {"description":"Commented close tag in [R]CDATA", "contentModelFlags":["RCDATA", "CDATA"], "lastStartTag":"pre", "input":"foo", "output":[["Character", "foo"], ["EndTag", "pre"]]}, {"description":"Bogus comment in [R]CDATA", "contentModelFlags":["RCDATA", "CDATA"], "lastStartTag":"pre", "input":"foobaz", "output":[["Character", "foobaz"], ["EndTag", "pre"]]}, {"description":"End tag surrounded by bogus comment in [R]CDATA", "contentModelFlags":["RCDATA", "CDATA"], "lastStartTag":"pre", "input":"foobaz", "output":[["Character", "foo"], ["EndTag", "pre"], "ParseError", ["Comment", ""], ["Character", "baz"], ["EndTag", "pre"]]}, {"description":"Commented entities in RCDATA", "contentModelFlags":["RCDATA"], "lastStartTag":"pre", "input":" & & ", "output":[["Character", " & & "], ["EndTag", "pre"]]}, {"description":"Incorrect comment ending sequences in [R]CDATA", "contentModelFlags":["RCDATA", "CDATA"], "lastStartTag":"pre", "input":"foox--<>", "output":[["Character", "foox--<>"]]} ]}