Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Side by Side Diff: packages/html/test/data/tokenizer/escapeFlag.test

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {"tests": [
2
3 {"description":"Commented close tag in RCDATA or RAWTEXT",
4 "initialStates":["RCDATA state", "RAWTEXT state"],
5 "lastStartTag":"xmp",
6 "input":"foo<!--</xmp>--></xmp>",
7 "output":[["Character", "foo<!--"], ["EndTag", "xmp"], ["Character", "-->"], ["E ndTag", "xmp"]]},
8
9 {"description":"Bogus comment in RCDATA or RAWTEXT",
10 "initialStates":["RCDATA state", "RAWTEXT state"],
11 "lastStartTag":"xmp",
12 "input":"foo<!-->baz</xmp>",
13 "output":[["Character", "foo<!-->baz"], ["EndTag", "xmp"]]},
14
15 {"description":"End tag surrounded by bogus comment in RCDATA or RAWTEXT",
16 "initialStates":["RCDATA state", "RAWTEXT state"],
17 "lastStartTag":"xmp",
18 "input":"foo<!--></xmp><!-->baz</xmp>",
19 "output":[["Character", "foo<!-->"], ["EndTag", "xmp"], "ParseError", ["Comment" , ""], ["Character", "baz"], ["EndTag", "xmp"]]},
20
21 {"description":"Commented entities in RCDATA",
22 "initialStates":["RCDATA state"],
23 "lastStartTag":"xmp",
24 "input":" &amp; <!-- &amp; --> &amp; </xmp>",
25 "output":[["Character", " & <!-- & --> & "], ["EndTag", "xmp"]]},
26
27 {"description":"Incorrect comment ending sequences in RCDATA or RAWTEXT",
28 "initialStates":["RCDATA state", "RAWTEXT state"],
29 "lastStartTag":"xmp",
30 "input":"foo<!-- x --x>x-- >x--!>x--<></xmp>",
31 "output":[["Character", "foo<!-- x --x>x-- >x--!>x--<>"], ["EndTag", "xmp"]]}
32
33 ]}
OLDNEW
« no previous file with comments | « packages/html/test/data/tokenizer/entities.test ('k') | packages/html/test/data/tokenizer/numericEntities.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698