Automatic update from web-platform-tests HTML: use JS harness for html5lib tests so we can use .dat files directly Also fix a mess in WebVTT due to e7c5d8babd which didn't update the .dat file and instead percent-encoded manually. First step towards #27868. -- wpt-commits: 31d1feb70e2d02f25ae26254caba19c8de0b56e0 wpt-pr: 59976
218 lines
3.4 KiB
Plaintext
218 lines
3.4 KiB
Plaintext
#data
|
|
FOO<!-- BAR -->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!-- BAR --!>BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,15): unexpected-bang-after-double-dash-in-comment
|
|
#new-errors
|
|
(1:16) incorrectly-closed-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!-- BAR --! >BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1:21) eof-in-comment
|
|
#new-errors
|
|
(1:21) eof-in-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR --! >BAZ -->
|
|
|
|
#data
|
|
FOO<!-- BAR --!
|
|
>BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(2:5) eof-in-comment
|
|
#new-errors
|
|
(2:5) eof-in-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR --!
|
|
>BAZ -->
|
|
|
|
#data
|
|
FOO<!-- BAR -- >BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,21): eof-in-comment
|
|
#new-errors
|
|
(1:22) eof-in-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -- >BAZ -->
|
|
|
|
#data
|
|
FOO<!-- BAR -- <QUX> -- MUX -->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -- <QUX> -- MUX -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!-- BAR -- <QUX> -- MUX --!>BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,31): unexpected-bang-after-double-dash-in-comment
|
|
#new-errors
|
|
(1:32) incorrectly-closed-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -- <QUX> -- MUX -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!-- BAR -- <QUX> -- MUX -- >BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,35): eof-in-comment
|
|
#new-errors
|
|
(1:36) eof-in-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -- <QUX> -- MUX -- >BAZ -->
|
|
|
|
#data
|
|
FOO<!---->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!--->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,9): incorrect-comment
|
|
#new-errors
|
|
(1:9) abrupt-closing-of-empty-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!-->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,8): incorrect-comment
|
|
#new-errors
|
|
(1:8) abrupt-closing-of-empty-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
<?xml version="1.0">Hi
|
|
#errors
|
|
(1,1): expected-tag-name-but-got-question-mark
|
|
(1,22): expected-doctype-but-got-chars
|
|
#new-errors
|
|
(1:2) unexpected-question-mark-instead-of-tag-name
|
|
#document
|
|
| <!-- ?xml version="1.0" -->
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "Hi"
|
|
|
|
#data
|
|
<?xml version="1.0">
|
|
#errors
|
|
(1,1): expected-tag-name-but-got-question-mark
|
|
(1,20): expected-doctype-but-got-eof
|
|
#new-errors
|
|
(1:2) unexpected-question-mark-instead-of-tag-name
|
|
#document
|
|
| <!-- ?xml version="1.0" -->
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
|
|
#data
|
|
<?xml version
|
|
#errors
|
|
(1,1): expected-tag-name-but-got-question-mark
|
|
(1,13): expected-doctype-but-got-eof
|
|
#new-errors
|
|
(1:2) unexpected-question-mark-instead-of-tag-name
|
|
#document
|
|
| <!-- ?xml version -->
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
|
|
#data
|
|
FOO<!----->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- - -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
<html><!-- comment --><title>Comment before head</title>
|
|
#errors
|
|
(1,6): expected-doctype-but-got-start-tag
|
|
#document
|
|
| <html>
|
|
| <!-- comment -->
|
|
| <head>
|
|
| <title>
|
|
| "Comment before head"
|
|
| <body>
|