Skip to content

Commit 2998f9a

Browse files
authored
Merge pull request #65 from nox/errors
Fix some errors expectations; r=gsnedders
2 parents 927f779 + 2889adb commit 2998f9a

File tree

10 files changed

+13
-14
lines changed

10 files changed

+13
-14
lines changed

tree-construction/entities01.dat

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,8 @@ FOO&#111111111111
762762
FOO&#11111111111ZOO
763763
#errors
764764
(1,3): expected-doctype-but-got-chars
765-
(1,13): illegal-codepoint-for-numeric-entity
765+
(1,16): numeric-entity-without-semicolon
766+
(1,16): illegal-codepoint-for-numeric-entity
766767
#document
767768
| <html>
768769
| <head>
@@ -773,7 +774,8 @@ FOO&#11111111111ZOO
773774
FOO&#1111111111ZOO
774775
#errors
775776
(1,3): expected-doctype-but-got-chars
776-
(1,13): illegal-codepoint-for-numeric-entity
777+
(1,15): numeric-entity-without-semicolon
778+
(1,15): illegal-codepoint-for-numeric-entity
777779
#document
778780
| <html>
779781
| <head>
@@ -784,7 +786,8 @@ FOO&#1111111111ZOO
784786
FOO&#111111111111ZOO
785787
#errors
786788
(1,3): expected-doctype-but-got-chars
787-
(1,13): illegal-codepoint-for-numeric-entity
789+
(1,17): numeric-entity-without-semicolon
790+
(1,17): illegal-codepoint-for-numeric-entity
788791
#document
789792
| <html>
790793
| <head>

tree-construction/foreign-fragment.dat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,7 @@ svg desc
487487
#data
488488
<plaintext><foo>
489489
#errors
490-
16: End of file seen and there were open elements.
491-
11: Unclosed element “plaintext”.
490+
(1,16): expected-closing-tag-but-got-eof
492491
#document-fragment
493492
svg desc
494493
#document

tree-construction/ruby.dat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
<html><ruby>a<rb>b<span></ruby></html>
5959
#errors
6060
(1,6): expected-doctype-but-got-start-tag
61+
(1,31): unexpected-end-tag
6162
#document
6263
| <html>
6364
| <head>
@@ -128,6 +129,7 @@
128129
<html><ruby>a<rt>b<span></ruby></html>
129130
#errors
130131
(1,6): expected-doctype-but-got-start-tag
132+
(1,31): unexpected-end-tag
131133
#document
132134
| <html>
133135
| <head>
@@ -271,6 +273,7 @@
271273
<html><ruby>a<rp>b<span></ruby></html>
272274
#errors
273275
(1,6): expected-doctype-but-got-start-tag
276+
(1,31): unexpected-end-tag
274277
#document
275278
| <html>
276279
| <head>

tree-construction/tests1.dat

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,6 @@ Line1<br>Line2<br>Line3<br>Line4
357357
(1,27): unexpected-select-in-select
358358
(1,39): unexpected-end-tag
359359
(1,48): unexpected-end-tag
360-
(1,49): expected-closing-tag-but-got-eof
361360
#document
362361
| <html>
363362
| <head>
@@ -1539,7 +1538,6 @@ Line1<br>Line2<br>Line3<br>Line4
15391538
(1,27): unexpected-select-in-select
15401539
(1,39): unexpected-end-tag
15411540
(1,48): unexpected-end-tag
1542-
(1,48): expected-closing-tag-but-got-eof
15431541
#document
15441542
| <html>
15451543
| <head>

tree-construction/tests16.dat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@
216216
#data
217217
<!doctype html><script><!
218218
#errors
219+
(1,25): expected-script-data-but-got-eof
219220
(1,25): expected-named-closing-tag-but-got-eof
220221
#document
221222
| <!DOCTYPE html>
@@ -1445,6 +1446,7 @@
14451446
<script><!
14461447
#errors
14471448
(1,8): expected-doctype-but-got-start-tag
1449+
(1,10): expected-script-data-but-got-eof
14481450
(1,10): expected-named-closing-tag-but-got-eof
14491451
#document
14501452
| <html>

tree-construction/tests2.dat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@
471471
<!DOCTYPE html><select><optgroup><option></optgroup><option><select><option>
472472
#errors
473473
(1,68): unexpected-select-in-select
474-
(1,76): expected-closing-tag-but-got-eof
475474
#document
476475
| <!DOCTYPE html>
477476
| <html>

tree-construction/tests20.dat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@
407407
<option><option>
408408
#errors
409409
(1,8): expected-doctype-but-got-start-tag
410-
(1,16): expected-closing-tag-but-got-eof
411410
#document
412411
| <html>
413412
| <head>

tree-construction/tests7.dat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ A<table><tr> B</tr> </em>C</table>
393393
(1,14): foster-parenting-character
394394
(1,20): foster-parenting-character
395395
(1,25): unexpected-end-tag
396+
(1,25): unexpected-end-tag-in-special-element
396397
(1,26): foster-parenting-character
397398
#document
398399
| <html>

tree-construction/tests_innerHTML_1.dat

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,6 @@ td
826826
</select><option>
827827
#errors
828828
(1,9): XXX-undefined-error
829-
(1,17): eof-in-select
830829
#document-fragment
831830
select
832831
#document
@@ -836,7 +835,6 @@ select
836835
<input><option>
837836
#errors
838837
(1,7): unexpected-input-in-select
839-
(1,15): eof-in-select
840838
#document-fragment
841839
select
842840
#document
@@ -846,7 +844,6 @@ select
846844
<keygen><option>
847845
#errors
848846
(1,8): unexpected-input-in-select
849-
(1,16): eof-in-select
850847
#document-fragment
851848
select
852849
#document
@@ -856,7 +853,6 @@ select
856853
<textarea><option>
857854
#errors
858855
(1,10): unexpected-input-in-select
859-
(1,18): eof-in-select
860856
#document-fragment
861857
select
862858
#document

tree-construction/webkit01.dat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@ console.log("FOO<span>BAR</span>BAZ");
385385
(1,59): unexpected-select-in-select
386386
(1,93): unexpected-select-in-select
387387
(1,127): unexpected-select-in-select
388-
(1,127): expected-closing-tag-but-got-eof
389388
#document
390389
| <html>
391390
| <head>

0 commit comments

Comments
 (0)