Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tokenizer/test3.test
Original file line number Diff line number Diff line change
Expand Up @@ -4985,7 +4985,10 @@

{"description":"<a\\u0000>",
"input":"<a\u0000>",
"output":["ParseError", ["StartTag", "a\uFFFD", {}]]},
"output":["ParseError", ["StartTag", "a\uFFFD", {}]],
"errors":[
{ "code": "unexpected-null-character", "line": 1, "col": 3 }
]},

{"description":"<a\\u0008>",
"input":"<a\u0008>",
Expand Down
9 changes: 4 additions & 5 deletions tokenizer/test4.test
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,10 @@

{"description":"EOF in tag name state ",
"input":"<a",
"output":["ParseError"]},

{"description":"EOF in tag name state",
"input":"<a",
"output":["ParseError"]},
"output":["ParseError"],
"errors": [
{ "code": "eof-in-tag-name", "line": 1, "col": 3 }
]},

{"description":"EOF in before attribute name state",
"input":"<a ",
Expand Down
2 changes: 2 additions & 0 deletions tree-construction/webkit01.dat
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ Test
#errors
(1,3): eof-in-tag-name
(1,3): expected-doctype-but-got-eof
#new-errors
(1:4) eof-in-tag-name
#document
| <html>
| <head>
Expand Down