From 3fbb25cc430c9dcf3ed06b6e86b8a64738493e86 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Mon, 6 Oct 2014 12:57:10 -0700 Subject: [PATCH] Update test expectations The hubbub bindings set document.characterSet but we don't use it for anything. html5ever doesn't parse charsets from 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 tests. We don't support this feature at all. Some other things change due to bugs in hubbub not present in html5ever. --- ..._document_characterSet_long.html.disabled} | 0 ...document_characterSet_short.html.disabled} | 0 .../XMLHttpRequest/open-url-encoding.htm.ini | 4 +- .../send-content-type-string.htm.ini | 3 + .../relevant-mutations.html.ini | 12 - .../srcset/parse-a-srcset-attribute.html.ini | 54 +-- .../update-the-source-set.html.ini | 330 +++++++++--------- 7 files changed, 205 insertions(+), 198 deletions(-) rename tests/content/{test_document_characterSet_long.html => test_document_characterSet_long.html.disabled} (100%) rename tests/content/{test_document_characterSet_short.html => test_document_characterSet_short.html.disabled} (100%) create mode 100644 tests/wpt/metadata/XMLHttpRequest/send-content-type-string.htm.ini diff --git a/tests/content/test_document_characterSet_long.html b/tests/content/test_document_characterSet_long.html.disabled similarity index 100% rename from tests/content/test_document_characterSet_long.html rename to tests/content/test_document_characterSet_long.html.disabled diff --git a/tests/content/test_document_characterSet_short.html b/tests/content/test_document_characterSet_short.html.disabled similarity index 100% rename from tests/content/test_document_characterSet_short.html rename to tests/content/test_document_characterSet_short.html.disabled diff --git a/tests/wpt/metadata/XMLHttpRequest/open-url-encoding.htm.ini b/tests/wpt/metadata/XMLHttpRequest/open-url-encoding.htm.ini index f1d83359558..80b921e50af 100644 --- a/tests/wpt/metadata/XMLHttpRequest/open-url-encoding.htm.ini +++ b/tests/wpt/metadata/XMLHttpRequest/open-url-encoding.htm.ini @@ -1,5 +1,3 @@ [open-url-encoding.htm] type: testharness - [XMLHttpRequest: open() - URL encoding] - expected: FAIL - + expected: TIMEOUT diff --git a/tests/wpt/metadata/XMLHttpRequest/send-content-type-string.htm.ini b/tests/wpt/metadata/XMLHttpRequest/send-content-type-string.htm.ini new file mode 100644 index 00000000000..3fb54f00638 --- /dev/null +++ b/tests/wpt/metadata/XMLHttpRequest/send-content-type-string.htm.ini @@ -0,0 +1,3 @@ +[send-content-type-string.htm] + type: testharness + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/relevant-mutations.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/relevant-mutations.html.ini index 3903287d32a..db509383662 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/relevant-mutations.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/relevant-mutations.html.ini @@ -108,15 +108,3 @@ [parent is picture, previous source has type removed] expected: FAIL - [ancestor picture has a source removed] - expected: FAIL - - [ancestor picture; previous sibling source removed] - expected: FAIL - - [src on previous sibling source set] - expected: FAIL - - [class on previous sibling source set] - expected: FAIL - diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/srcset/parse-a-srcset-attribute.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/srcset/parse-a-srcset-attribute.html.ini index e7df78b9081..af450694b73 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/srcset/parse-a-srcset-attribute.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/srcset/parse-a-srcset-attribute.html.ini @@ -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 + diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/update-the-source-set.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/update-the-source-set.html.ini index 08df606ea48..dd1e489c720 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/update-the-source-set.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/update-the-source-set.html.ini @@ -66,168 +66,9 @@ [] expected: FAIL - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - [] expected: FAIL - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - [foo] expected: FAIL @@ -249,12 +90,177 @@ [] expected: FAIL - [] + [] expected: FAIL - [] + [] expected: FAIL - [] + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] expected: FAIL