From a200b850edc00a43d4358ad58e4ab6fc432aaf4e Mon Sep 17 00:00:00 2001 From: inikulin Date: Thu, 18 May 2017 15:46:44 +0300 Subject: [PATCH] Rename `abruption-of-tag-self-closure` error. --- tokenizer/test2.test | 2 +- tokenizer/test3.test | 62 +++++++++++++++--------------- tokenizer/test4.test | 2 +- tree-construction/scriptdata01.dat | 2 +- tree-construction/tests2.dat | 6 +-- tree-construction/tests26.dat | 2 +- tree-construction/webkit01.dat | 6 +-- 7 files changed, 41 insertions(+), 41 deletions(-) diff --git a/tokenizer/test2.test b/tokenizer/test2.test index 3dba9e23..3cc721c5 100644 --- a/tokenizer/test2.test +++ b/tokenizer/test2.test @@ -164,7 +164,7 @@ "input":"", "output":[["StartTag", "h", { "a":"b" }]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"Double-quoted attribute value", diff --git a/tokenizer/test3.test b/tokenizer/test3.test index f537029c..81df4103 100644 --- a/tokenizer/test3.test +++ b/tokenizer/test3.test @@ -6590,7 +6590,7 @@ { "code": "missing-whitespace-before-doctype-name", "line": 1, "col": 10 }, { "code": "missing-whitespace-after-doctype-system-keyword", "line": 1, "col": 18 }, { "code": "eof-in-doctype", "line": 1, "col": 20 } - + ]}, {"description":"", @@ -10191,7 +10191,7 @@ "input":"", "output":[["StartTag", "a", {"\uFFFD":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 }, + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 }, { "code": "unexpected-null-character", "line": 1, "col": 4 } ]}, @@ -10199,14 +10199,14 @@ "input":"", "output":[["StartTag", "a", {}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", @@ -10214,35 +10214,35 @@ "output":[["StartTag", "a", {"\u000B":""}]], "errors":[ { "code": "control-character-in-input-stream", "line": 1, "col": 4 }, - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"!":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"\"":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 }, + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 }, { "code": "unexpected-character-in-attribute-name", "line": 1, "col": 4 } ]}, @@ -10250,14 +10250,14 @@ "input":"", "output":[["StartTag", "a", {"&":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"'":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 }, + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 }, { "code": "unexpected-character-in-attribute-name", "line": 1, "col": 4 } ]}, @@ -10265,42 +10265,42 @@ "input":"", "output":[["StartTag", "a", {"-":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {}, true]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"0":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"1":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"9":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"<":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 }, + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 }, { "code": "unexpected-character-in-attribute-name", "line": 1, "col": 4 } ]}, @@ -10308,7 +10308,7 @@ "input":"", "output":[["StartTag", "a", {"=":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 }, + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 }, { "code": "unexpected-equals-sign-before-attribute-name", "line": 1, "col": 4 } ]}, @@ -10320,91 +10320,91 @@ "input":"", "output":[["StartTag", "a", {"?":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"@":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"a":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"b":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"y":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"z":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"`":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"a":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"b":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"y":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"z":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"{":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", "input":"", "output":[["StartTag", "a", {"\uDBC0\uDC00":""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 } + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 } ]}, {"description":"", diff --git a/tokenizer/test4.test b/tokenizer/test4.test index 09f2211b..fb76333a 100644 --- a/tokenizer/test4.test +++ b/tokenizer/test4.test @@ -4,7 +4,7 @@ "input":"", "output":[["StartTag", "z", {"0": "", "<": ""}]], "errors":[ - { "code": "abruption-of-tag-self-closure", "line": 1, "col": 4 }, + { "code": "unexpected-solidus-in-tag", "line": 1, "col": 4 }, { "code": "unexpected-character-in-attribute-name", "line": 1, "col": 7 } ]}, diff --git a/tree-construction/scriptdata01.dat b/tree-construction/scriptdata01.dat index 9cb83c75..1d894c9c 100644 --- a/tree-construction/scriptdata01.dat +++ b/tree-construction/scriptdata01.dat @@ -56,7 +56,7 @@ FOOBAR (1,3): expected-doctype-but-got-chars (1,20): unexpected-character-after-solidus-in-tag #new-errors -(1:21) abruption-of-tag-self-closure +(1:21) unexpected-solidus-in-tag #document | | diff --git a/tree-construction/tests2.dat b/tree-construction/tests2.dat index 9c08955c..b93308fb 100644 --- a/tree-construction/tests2.dat +++ b/tree-construction/tests2.dat @@ -750,9 +750,9 @@ x { content:" | diff --git a/tree-construction/tests26.dat b/tree-construction/tests26.dat index eb9a5bc3..707594d9 100644 --- a/tree-construction/tests26.dat +++ b/tree-construction/tests26.dat @@ -271,7 +271,7 @@ (2,0): expected-closing-tag-but-got-eof #new-errors (1:11) unexpected-character-in-attribute-name -(1:13) abruption-of-tag-self-closure +(1:13) unexpected-solidus-in-tag #document | | diff --git a/tree-construction/webkit01.dat b/tree-construction/webkit01.dat index 2a0e52c7..14029f9e 100644 --- a/tree-construction/webkit01.dat +++ b/tree-construction/webkit01.dat @@ -192,9 +192,9 @@ console.log("FOOBARBAZ"); (1,24): expected-doctype-but-got-start-tag (1,24): expected-closing-tag-but-got-eof #new-errors -(1:8) abruption-of-tag-self-closure -(1:9) abruption-of-tag-self-closure -(1:17) abruption-of-tag-self-closure +(1:8) unexpected-solidus-in-tag +(1:9) unexpected-solidus-in-tag +(1:17) unexpected-solidus-in-tag #document | |