kolibrios-gitea/programs/network/netsurf/libhubbub/test/data/tokeniser2/cdata.test
Dmitry Pereverzev (SoUrcerer) 370da47fa0 Netsurf initial port (still needs native ui and cURL)
git-svn-id: svn://kolibrios.org@3584 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-01 17:14:14 +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"]]},
]}