Update test expectations

The hubbub bindings set document.characterSet but we don't use it for anything.
html5ever doesn't parse charsets from <meta> tags yet, and I'd rather add that
as part of adding actual support for other encodings (which Servo never had
with hubbub).

Switching to html5ever also changes attribute parsing slightly (bringing it in
line with the current spec) and this breaks some of the <img srcset> tests.  We
don't support this feature at all.

Some other things change due to bugs in hubbub not present in html5ever.
This commit is contained in:
Keegan McAllister 2014-10-06 12:57:10 -07:00
parent 5be4f40bef
commit 3fbb25cc43
7 changed files with 205 additions and 198 deletions

View file

@ -18,9 +18,6 @@
["\\n\\ndata:,a\\n\\n1x\\n\\n"]
expected: FAIL
["\xef\xbf\xbd\xef\xbf\xbddata:,a\xef\xbf\xbd\xef\xbf\xbd1x\xef\xbf\xbd\xef\xbf\xbd"]
expected: FAIL
["\\f\\fdata:,a\\f\\f1x\\f\\f"]
expected: FAIL
@ -267,9 +264,6 @@
["data:,a 0X1w"]
expected: FAIL
["data:,a 1\xef\xbf\xbdw" (trailing U+0001)]
expected: FAIL
["data:,a 1\xc2\xa0w" (trailing U+00A0)]
expected: FAIL
@ -327,9 +321,6 @@
["data:,a 1\xef\xbb\xbfw" (trailing U+FEFF)]
expected: FAIL
["data:,a \xef\xbf\xbd1w" (leading U+0001)]
expected: FAIL
["data:,a \xc2\xa01w" (leading U+00A0)]
expected: FAIL
@ -423,9 +414,6 @@
["data:,a 0X1x"]
expected: FAIL
["data:,a 1\xef\xbf\xbdx" (trailing U+0001)]
expected: FAIL
["data:,a 1\xc2\xa0x" (trailing U+00A0)]
expected: FAIL
@ -483,9 +471,6 @@
["data:,a 1\xef\xbb\xbfx" (trailing U+FEFF)]
expected: FAIL
["data:,a \xef\xbf\xbd1x" (leading U+0001)]
expected: FAIL
["data:,a \xc2\xa01x" (leading U+00A0)]
expected: FAIL
@ -573,9 +558,6 @@
["data:,a 0X1h"]
expected: FAIL
["data:,a 1w 1\xef\xbf\xbdh" (trailing U+0001)]
expected: FAIL
["data:,a 1w 1\xc2\xa0h" (trailing U+00A0)]
expected: FAIL
@ -633,9 +615,6 @@
["data:,a 1w 1\xef\xbb\xbfh" (trailing U+FEFF)]
expected: FAIL
["data:,a 1w \xef\xbf\xbd1h" (leading U+0001)]
expected: FAIL
["data:,a 1w \xc2\xa01h" (leading U+00A0)]
expected: FAIL
@ -693,3 +672,36 @@
["data:,a 1w \xef\xbb\xbf1h" (leading U+FEFF)]
expected: FAIL
["\\v\\vdata:,a\\v\\v1x\\v\\v"]
expected: FAIL
["\\r\\rdata:,a\\r\\r1x\\r\\r"]
expected: FAIL
["\\x0e\\x0edata:,a\\x0e\\x0e1x\\x0e\\x0e"]
expected: FAIL
["\\x0f\\x0fdata:,a\\x0f\\x0f1x\\x0f\\x0f"]
expected: FAIL
["\\x10\\x10data:,a\\x10\\x101x\\x10\\x10"]
expected: FAIL
["data:,a 1\\x01w" (trailing U+0001)]
expected: FAIL
["data:,a \\x011w" (leading U+0001)]
expected: FAIL
["data:,a 1\\x01x" (trailing U+0001)]
expected: FAIL
["data:,a \\x011x" (leading U+0001)]
expected: FAIL
["data:,a 1w 1\\x01h" (trailing U+0001)]
expected: FAIL
["data:,a 1w \\x011h" (leading U+0001)]
expected: FAIL