kolibrios-gitea/contrib/network/netsurf/libhubbub/test/data/tokeniser2/cdata.test
Yogev Ezra bb2bbc6b91 Move NetSurf to /contrib folder
git-svn-id: svn://kolibrios.org@4364 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-15 14:01:21 +00:00

24 lines
509 B
Plaintext

{"tests": [
{"description":"Basic CDATA test",
"processCDATA":true,
"input":"<![CDATA[test]]>",
"output":[["Character", "test"]]},
{"description":"Unfinished CDATA test",
"processCDATA":true,
"input":"<![CDAT",
"output":["ParseError", ["Comment", "[CDAT"]]},
{"description":"EOF in CDATA chunk",
"processCDATA":true,
"input":"<![CDATA[aa",
"output":[["Character", "aa"]]},
{"description":"False end in CDATA chunk",
"processCDATA":true,
"input":"<![CDATA[aa]]aa",
"output":[["Character", "aa]]aa"]]},
]}