From 5765c841638c3b37d11a5224d9fa137481cb9a3d Mon Sep 17 00:00:00 2001 From: inikulin Date: Tue, 30 May 2017 14:00:09 +0300 Subject: [PATCH 1/2] Rename abrupt closing of comment error --- tokenizer/escapeFlag.test | 2 +- tokenizer/test1.test | 4 ++-- tree-construction/comments01.dat | 4 ++-- tree-construction/tests1.dat | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tokenizer/escapeFlag.test b/tokenizer/escapeFlag.test index 3a3a39b6..d7d2c490 100644 --- a/tokenizer/escapeFlag.test +++ b/tokenizer/escapeFlag.test @@ -18,7 +18,7 @@ "input":"foobaz", "output":[["Character", "foo"], ["EndTag", "xmp"], ["Comment", ""], ["Character", "baz"], ["EndTag", "xmp"]], "errors":[ - { "code": "abrupt-closing-of-comment", "line": 1, "col": 19 } + { "code": "abrupt-closing-of-empty-comment", "line": 1, "col": 19 } ]}, {"description":"Commented entities in RCDATA", diff --git a/tokenizer/test1.test b/tokenizer/test1.test index 6097441b..cf22902b 100644 --- a/tokenizer/test1.test +++ b/tokenizer/test1.test @@ -117,7 +117,7 @@ "input":"", "output":[["Comment", ""]], "errors":[ - { "code": "abrupt-closing-of-comment", "line": 1, "col": 5 } + { "code": "abrupt-closing-of-empty-comment", "line": 1, "col": 5 } ]}, @@ -125,7 +125,7 @@ "input":"", "output":[["Comment", ""]], "errors":[ - { "code": "abrupt-closing-of-comment", "line": 1, "col": 6 } + { "code": "abrupt-closing-of-empty-comment", "line": 1, "col": 6 } ]}, {"description":"Short comment three", diff --git a/tree-construction/comments01.dat b/tree-construction/comments01.dat index 07addf78..15d52e6b 100644 --- a/tree-construction/comments01.dat +++ b/tree-construction/comments01.dat @@ -106,7 +106,7 @@ FOOBAZ (1,3): expected-doctype-but-got-chars (1,9): incorrect-comment #new-errors -(1:9) abrupt-closing-of-comment +(1:9) abrupt-closing-of-empty-comment #document | | @@ -121,7 +121,7 @@ FOOBAZ (1,3): expected-doctype-but-got-chars (1,8): incorrect-comment #new-errors -(1:8) abrupt-closing-of-comment +(1:8) abrupt-closing-of-empty-comment #document | | diff --git a/tree-construction/tests1.dat b/tree-construction/tests1.dat index 6cdad530..1c36c1b8 100644 --- a/tree-construction/tests1.dat +++ b/tree-construction/tests1.dat @@ -328,8 +328,8 @@ Line1
Line2
Line3
Line4 (1,17): incorrect-comment (1,17): expected-closing-tag-but-got-eof #new-errors -(1:5) abrupt-closing-of-comment -(1:17) abrupt-closing-of-comment +(1:5) abrupt-closing-of-empty-comment +(1:17) abrupt-closing-of-empty-comment #document | | From eae4e2d3fbbad15e220d1ff4a3348f855d85cbbb Mon Sep 17 00:00:00 2001 From: inikulin Date: Tue, 30 May 2017 14:07:07 +0300 Subject: [PATCH 2/2] non-void-element -> non-void-html-element --- tree-construction/foreign-fragment.dat | 10 +++++----- tree-construction/webkit01.dat | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tree-construction/foreign-fragment.dat b/tree-construction/foreign-fragment.dat index 2558e086..c81ae817 100644 --- a/tree-construction/foreign-fragment.dat +++ b/tree-construction/foreign-fragment.dat @@ -175,7 +175,7 @@ math ms 52: End of file seen and there were open elements. 51: Unclosed element “ms”. #new-errors -(1:44-1:49) non-void-element-start-tag-with-trailing-solidus +(1:44-1:49) non-void-html-element-start-tag-with-trailing-solidus #document-fragment math ms #document @@ -218,7 +218,7 @@ math ms 52: End of file seen and there were open elements. 51: Unclosed element “mn”. #new-errors -(1:44-1:49) non-void-element-start-tag-with-trailing-solidus +(1:44-1:49) non-void-html-element-start-tag-with-trailing-solidus #document-fragment math mn #document @@ -261,7 +261,7 @@ math mn 52: End of file seen and there were open elements. 51: Unclosed element “mo”. #new-errors -(1:44-1:49) non-void-element-start-tag-with-trailing-solidus +(1:44-1:49) non-void-html-element-start-tag-with-trailing-solidus #document-fragment math mo #document @@ -304,7 +304,7 @@ math mo 52: End of file seen and there were open elements. 51: Unclosed element “mi”. #new-errors -(1:44-1:49) non-void-element-start-tag-with-trailing-solidus +(1:44-1:49) non-void-html-element-start-tag-with-trailing-solidus #document-fragment math mi #document @@ -347,7 +347,7 @@ math mi 52: End of file seen and there were open elements. 51: Unclosed element “mtext”. #new-errors -(1:44-1:52) non-void-element-start-tag-with-trailing-solidus +(1:44-1:52) non-void-html-element-start-tag-with-trailing-solidus #document-fragment math mtext #document diff --git a/tree-construction/webkit01.dat b/tree-construction/webkit01.dat index 77d90d3b..e2bb4b47 100644 --- a/tree-construction/webkit01.dat +++ b/tree-construction/webkit01.dat @@ -641,7 +641,7 @@ console.log("FOOBARBAZ"); (1,23): non-void-element-with-trailing-solidus (1,29): end-tag-too-early #new-errors -(1:9-1:24) non-void-element-start-tag-with-trailing-solidus +(1:9-1:24) non-void-html-element-start-tag-with-trailing-solidus #document | |