Rename metadata directories

This renames:
 - `tests/wpt/metadata` → `tests/wpt/meta-legacy-layout`
 - `tests/wpt/metadata-layout-2020` → `tests/wpt/meta`
 - `tests/wpt/mozilla/meta` → `tests/wpt/mozilla/meta-legacy-layout`
 - `tests/wpt/mozilla/meta-layout-2020` → `tests/wpt/mozilla/meta`
This commit is contained in:
Martin Robinson 2023-06-22 14:35:02 +02:00
parent cfd24f00bc
commit f4578afdfe
No known key found for this signature in database
GPG key ID: D56AA4FA55EFE6F8
23708 changed files with 772645 additions and 694 deletions

View file

@ -0,0 +1,582 @@
[a-element-xhtml.xhtml]
[Parsing: <> against <non-spec:/..//p>]
expected: FAIL
[Parsing: <non-spec:/..//> against <about:blank>]
expected: FAIL
[Parsing: <path> against <non-spec:/..//p>]
expected: FAIL
[Parsing: <non-spec:/.//path> against <about:blank>]
expected: FAIL
[Parsing: <..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <non-spec:/a/..//path> against <about:blank>]
expected: FAIL
[Parsing: </..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <a/..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <non-spec:/..//path> against <about:blank>]
expected: FAIL
[Parsing: </.//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <non-spec:/.//> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/a/..//> against <about:blank>]
expected: FAIL
[Parsing: <file://[1::8\]/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file:////one/two> against <file:///>]
expected: FAIL
[Parsing: </..//localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: <file://localhost//a//../..//foo> against <about:blank>]
expected: FAIL
[Parsing: <file:///.//> against <file:////>]
expected: FAIL
[Parsing: <file:\\\\localhost//> against <about:blank>]
expected: FAIL
[Parsing: <file://localhost////foo> against <about:blank>]
expected: FAIL
[Parsing: <C|?> against <file://host/dir/file>]
expected: FAIL
[Parsing: <file:\\\\\\\\> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\#guppy> against <about:blank>]
expected: FAIL
[Parsing: <C|\n/> against <file://host/dir/file>]
expected: FAIL
[Parsing: <file://\\/localhost//cat> against <about:blank>]
expected: FAIL
[Parsing: <file://1.2.3.4/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\?fox> against <about:blank>]
expected: FAIL
[Parsing: <\\/localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: <file://example.net/C:/> against <about:blank>]
expected: FAIL
[Parsing: <////one/two> against <file:///>]
expected: FAIL
[Parsing: <C|\\> against <file://host/dir/file>]
expected: FAIL
[Parsing: </////mouse> against <file:///elephant>]
expected: FAIL
[Parsing: <file:////foo> against <about:blank>]
expected: FAIL
[Parsing: <file://spider///> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\//> against <about:blank>]
expected: FAIL
[Parsing: <//localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: </c:/foo/bar> against <file://host/path>]
expected: FAIL
[Parsing: <C|/> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|> against <file://host/dir/file>]
expected: FAIL
[Parsing: <file://localhost//a//../..//> against <about:blank>]
expected: FAIL
[Parsing: <C|#> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|> against <file://host/D:/dir1/dir2/file>]
expected: FAIL
[Parsing: </> against <file://h/C:/a/b>]
expected: FAIL
[Parsing: <file:.//p> against <about:blank>]
expected: FAIL
[Parsing: <file:/.//p> against <about:blank>]
expected: FAIL
[Parsing: <foo://ho|st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%7Cst/> against <about:blank>]
expected: FAIL
[Parsing: <file://%43%7C> against <about:blank>]
expected: FAIL
[Parsing: <file://%43|> against <about:blank>]
expected: FAIL
[Parsing: <file://C%7C> against <about:blank>]
expected: FAIL
[Parsing: <file://%43%7C/> against <about:blank>]
expected: FAIL
[Parsing: <https://%43%7C/> against <about:blank>]
expected: FAIL
[Parsing: <asdf://%43|/> against <about:blank>]
expected: FAIL
[Parsing: <C|/> against <file://host/>]
expected: FAIL
[Parsing: </C:/> against <file://host/>]
expected: FAIL
[Parsing: <file:C:/> against <file://host/>]
expected: FAIL
[Parsing: <file:/C:/> against <file://host/>]
expected: FAIL
[Parsing: <http://1.2.3.4.5> against <http://other.com/>]
expected: FAIL
[Parsing: <http://1.2.3.4.5.> against <http://other.com/>]
expected: FAIL
[Parsing: <http://0..0x300/> against <about:blank>]
expected: FAIL
[Parsing: <http://0..0x300./> against <about:blank>]
expected: FAIL
[Parsing: <http://256.256.256.256.256> against <http://other.com/>]
expected: FAIL
[Parsing: <http://256.256.256.256.256.> against <http://other.com/>]
expected: FAIL
[Parsing: <http://1.2.3.08> against <about:blank>]
expected: FAIL
[Parsing: <http://1.2.3.08.> against <about:blank>]
expected: FAIL
[Parsing: <http://1.2.3.09> against <about:blank>]
expected: FAIL
[Parsing: <http://09.2.3.4> against <about:blank>]
expected: FAIL
[Parsing: <http://09.2.3.4.> against <about:blank>]
expected: FAIL
[Parsing: <http://01.2.3.4.5> against <about:blank>]
expected: FAIL
[Parsing: <http://01.2.3.4.5.> against <about:blank>]
expected: FAIL
[Parsing: <http://0x1.2.3.4.5> against <about:blank>]
expected: FAIL
[Parsing: <http://0x1.2.3.4.5.> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.1.2.3.4> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.1.2.3.4.> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.2.3.4> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.2.3.4.> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.09> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.09.> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.0x4> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.0x4.> against <about:blank>]
expected: FAIL
[Parsing: <http://0999999999999999999/> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.0x> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.0XFfFfFfFfFfFfFfFfFfAcE123> against <about:blank>]
expected: FAIL
[Parsing: <http://💩.123/> against <about:blank>]
expected: FAIL
[Parsing: <sc://a|b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x01b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x02b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x03b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x04b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x05b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x06b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x07b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x08b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x0bb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x0cb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x0eb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x0fb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x10b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x11b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x12b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x13b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x14b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x15b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x16b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x17b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x18b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x19b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1ab/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1bb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1cb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1db/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1eb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1fb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a|b/> against <about:blank>]
expected: FAIL
[Parsing: <http://ab/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%01st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%02st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%03st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%04st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%05st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%06st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%07st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%08st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%0Bst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%0Cst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%0Est/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%0Fst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%10st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%11st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%12st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%13st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%14st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%15st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%16st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%17st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%18st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%19st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Ast/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Bst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Cst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Dst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Est/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Fst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%7Fst/> against <about:blank>]
expected: FAIL
[a-element-xhtml.xhtml?include=javascript]
[a-element-xhtml.xhtml?include=file]
[Parsing: </> against <file://h/C:/a/b>]
expected: FAIL
[Parsing: <file:\\\\//> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\?fox> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\#guppy> against <about:blank>]
expected: FAIL
[Parsing: <file://spider///> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\localhost//> against <about:blank>]
expected: FAIL
[Parsing: <file://\\/localhost//cat> against <about:blank>]
expected: FAIL
[Parsing: <file://localhost//a//../..//> against <about:blank>]
expected: FAIL
[Parsing: </////mouse> against <file:///elephant>]
expected: FAIL
[Parsing: <\\/localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: <//localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: </..//localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: <C|> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|> against <file://host/D:/dir1/dir2/file>]
expected: FAIL
[Parsing: <C|#> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|?> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|/> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|\n/> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|\\> against <file://host/dir/file>]
expected: FAIL
[Parsing: </c:/foo/bar> against <file://host/path>]
expected: FAIL
[Parsing: <file://example.net/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file://1.2.3.4/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file://[1::8\]/C:/> against <about:blank>]
expected: FAIL
[Parsing: <C|/> against <file://host/>]
expected: FAIL
[Parsing: </C:/> against <file://host/>]
expected: FAIL
[Parsing: <file:C:/> against <file://host/>]
expected: FAIL
[Parsing: <file:/C:/> against <file://host/>]
expected: FAIL
[Parsing: <file://localhost//a//../..//foo> against <about:blank>]
expected: FAIL
[Parsing: <file://localhost////foo> against <about:blank>]
expected: FAIL
[Parsing: <file:////foo> against <about:blank>]
expected: FAIL
[Parsing: <file:////one/two> against <file:///>]
expected: FAIL
[Parsing: <////one/two> against <file:///>]
expected: FAIL
[Parsing: <file:///.//> against <file:////>]
expected: FAIL
[Parsing: <file:.//p> against <about:blank>]
expected: FAIL
[Parsing: <file:/.//p> against <about:blank>]
expected: FAIL
[a-element-xhtml.xhtml?exclude=(file|javascript|mailto)]
[Parsing: <non-spec:/.//> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/..//> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/a/..//> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/.//path> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/..//path> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/a/..//path> against <about:blank>]
expected: FAIL
[Parsing: </.//path> against <non-spec:/p>]
expected: FAIL
[Parsing: </..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <a/..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <> against <non-spec:/..//p>]
expected: FAIL
[Parsing: <path> against <non-spec:/..//p>]
expected: FAIL
[a-element-xhtml.xhtml?include=mailto]

View file

@ -0,0 +1,581 @@
[a-element.html]
[Parsing: <> against <non-spec:/..//p>]
expected: FAIL
[Parsing: <non-spec:/..//> against <about:blank>]
expected: FAIL
[Parsing: <path> against <non-spec:/..//p>]
expected: FAIL
[Parsing: <non-spec:/.//path> against <about:blank>]
expected: FAIL
[Parsing: <..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <non-spec:/a/..//path> against <about:blank>]
expected: FAIL
[Parsing: </..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <a/..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <non-spec:/..//path> against <about:blank>]
expected: FAIL
[Parsing: </.//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <non-spec:/.//> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/a/..//> against <about:blank>]
expected: FAIL
[Parsing: <file://[1::8\]/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file:////one/two> against <file:///>]
expected: FAIL
[Parsing: </..//localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: <file://localhost//a//../..//foo> against <about:blank>]
expected: FAIL
[Parsing: <file:///.//> against <file:////>]
expected: FAIL
[Parsing: <file:\\\\localhost//> against <about:blank>]
expected: FAIL
[Parsing: <file://localhost////foo> against <about:blank>]
expected: FAIL
[Parsing: <C|?> against <file://host/dir/file>]
expected: FAIL
[Parsing: <file:\\\\\\\\> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\#guppy> against <about:blank>]
expected: FAIL
[Parsing: <C|\n/> against <file://host/dir/file>]
expected: FAIL
[Parsing: <file://\\/localhost//cat> against <about:blank>]
expected: FAIL
[Parsing: <file://1.2.3.4/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\?fox> against <about:blank>]
expected: FAIL
[Parsing: <\\/localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: <file://example.net/C:/> against <about:blank>]
expected: FAIL
[Parsing: <////one/two> against <file:///>]
expected: FAIL
[Parsing: <C|\\> against <file://host/dir/file>]
expected: FAIL
[Parsing: </////mouse> against <file:///elephant>]
expected: FAIL
[Parsing: <file:////foo> against <about:blank>]
expected: FAIL
[Parsing: <file://spider///> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\//> against <about:blank>]
expected: FAIL
[Parsing: <//localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: </c:/foo/bar> against <file://host/path>]
expected: FAIL
[Parsing: <C|/> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|> against <file://host/dir/file>]
expected: FAIL
[Parsing: <file://localhost//a//../..//> against <about:blank>]
expected: FAIL
[Parsing: <C|#> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|> against <file://host/D:/dir1/dir2/file>]
expected: FAIL
[Parsing: </> against <file://h/C:/a/b>]
expected: FAIL
[Parsing: <file:.//p> against <about:blank>]
expected: FAIL
[Parsing: <file:/.//p> against <about:blank>]
expected: FAIL
[Parsing: <foo://ho|st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%7Cst/> against <about:blank>]
expected: FAIL
[Parsing: <file://%43%7C> against <about:blank>]
expected: FAIL
[Parsing: <file://%43|> against <about:blank>]
expected: FAIL
[Parsing: <file://C%7C> against <about:blank>]
expected: FAIL
[Parsing: <file://%43%7C/> against <about:blank>]
expected: FAIL
[Parsing: <https://%43%7C/> against <about:blank>]
expected: FAIL
[Parsing: <asdf://%43|/> against <about:blank>]
expected: FAIL
[Parsing: <C|/> against <file://host/>]
expected: FAIL
[Parsing: </C:/> against <file://host/>]
expected: FAIL
[Parsing: <file:C:/> against <file://host/>]
expected: FAIL
[Parsing: <file:/C:/> against <file://host/>]
expected: FAIL
[Parsing: <http://1.2.3.4.5> against <http://other.com/>]
expected: FAIL
[Parsing: <http://1.2.3.4.5.> against <http://other.com/>]
expected: FAIL
[Parsing: <http://0..0x300/> against <about:blank>]
expected: FAIL
[Parsing: <http://0..0x300./> against <about:blank>]
expected: FAIL
[Parsing: <http://256.256.256.256.256> against <http://other.com/>]
expected: FAIL
[Parsing: <http://256.256.256.256.256.> against <http://other.com/>]
expected: FAIL
[Parsing: <http://1.2.3.08> against <about:blank>]
expected: FAIL
[Parsing: <http://1.2.3.08.> against <about:blank>]
expected: FAIL
[Parsing: <http://1.2.3.09> against <about:blank>]
expected: FAIL
[Parsing: <http://09.2.3.4> against <about:blank>]
expected: FAIL
[Parsing: <http://09.2.3.4.> against <about:blank>]
expected: FAIL
[Parsing: <http://01.2.3.4.5> against <about:blank>]
expected: FAIL
[Parsing: <http://01.2.3.4.5.> against <about:blank>]
expected: FAIL
[Parsing: <http://0x1.2.3.4.5> against <about:blank>]
expected: FAIL
[Parsing: <http://0x1.2.3.4.5.> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.1.2.3.4> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.1.2.3.4.> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.2.3.4> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.2.3.4.> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.09> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.09.> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.0x4> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.0x4.> against <about:blank>]
expected: FAIL
[Parsing: <http://0999999999999999999/> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.0x> against <about:blank>]
expected: FAIL
[Parsing: <http://foo.0XFfFfFfFfFfFfFfFfFfAcE123> against <about:blank>]
expected: FAIL
[Parsing: <http://💩.123/> against <about:blank>]
expected: FAIL
[Parsing: <sc://a|b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x01b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x02b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x03b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x04b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x05b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x06b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x07b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x08b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x0bb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x0cb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x0eb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x0fb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x10b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x11b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x12b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x13b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x14b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x15b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x16b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x17b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x18b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x19b/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1ab/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1bb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1cb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1db/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1eb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a\x1fb/> against <about:blank>]
expected: FAIL
[Parsing: <http://a|b/> against <about:blank>]
expected: FAIL
[Parsing: <http://ab/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%01st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%02st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%03st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%04st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%05st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%06st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%07st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%08st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%0Bst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%0Cst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%0Est/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%0Fst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%10st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%11st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%12st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%13st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%14st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%15st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%16st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%17st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%18st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%19st/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Ast/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Bst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Cst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Dst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Est/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%1Fst/> against <about:blank>]
expected: FAIL
[Parsing: <http://ho%7Fst/> against <about:blank>]
expected: FAIL
[a-element.html?include=mailto]
[a-element.html?include=file]
[Parsing: </> against <file://h/C:/a/b>]
expected: FAIL
[Parsing: <file:\\\\//> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\?fox> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\#guppy> against <about:blank>]
expected: FAIL
[Parsing: <file://spider///> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\localhost//> against <about:blank>]
expected: FAIL
[Parsing: <file://\\/localhost//cat> against <about:blank>]
expected: FAIL
[Parsing: <file://localhost//a//../..//> against <about:blank>]
expected: FAIL
[Parsing: </////mouse> against <file:///elephant>]
expected: FAIL
[Parsing: <\\/localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: <//localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: </..//localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: <C|> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|> against <file://host/D:/dir1/dir2/file>]
expected: FAIL
[Parsing: <C|#> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|?> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|/> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|\n/> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|\\> against <file://host/dir/file>]
expected: FAIL
[Parsing: </c:/foo/bar> against <file://host/path>]
expected: FAIL
[Parsing: <file://example.net/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file://1.2.3.4/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file://[1::8\]/C:/> against <about:blank>]
expected: FAIL
[Parsing: <C|/> against <file://host/>]
expected: FAIL
[Parsing: </C:/> against <file://host/>]
expected: FAIL
[Parsing: <file:C:/> against <file://host/>]
expected: FAIL
[Parsing: <file:/C:/> against <file://host/>]
expected: FAIL
[Parsing: <file://localhost//a//../..//foo> against <about:blank>]
expected: FAIL
[Parsing: <file://localhost////foo> against <about:blank>]
expected: FAIL
[Parsing: <file:////foo> against <about:blank>]
expected: FAIL
[Parsing: <file:////one/two> against <file:///>]
expected: FAIL
[Parsing: <////one/two> against <file:///>]
expected: FAIL
[Parsing: <file:///.//> against <file:////>]
expected: FAIL
[Parsing: <file:.//p> against <about:blank>]
expected: FAIL
[Parsing: <file:/.//p> against <about:blank>]
expected: FAIL
[a-element.html?include=javascript]
[a-element.html?exclude=(file|javascript|mailto)]
[Parsing: <non-spec:/.//> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/..//> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/a/..//> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/.//path> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/..//path> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/a/..//path> against <about:blank>]
expected: FAIL
[Parsing: </.//path> against <non-spec:/p>]
expected: FAIL
[Parsing: </..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <a/..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <> against <non-spec:/..//p>]
expected: FAIL
[Parsing: <path> against <non-spec:/..//p>]
expected: FAIL

View file

@ -0,0 +1,726 @@
[failure.html]
[Location's href: a// should throw]
expected: FAIL
[XHR: http:@/www.example.com should throw]
expected: FAIL
[Location's href: http:/a:b@/www.example.com should throw]
expected: FAIL
[Location's href: http::@/www.example.com should throw]
expected: FAIL
[XHR: http:@:www.example.com should throw]
expected: FAIL
[Location's href: http:/:@/www.example.com should throw]
expected: FAIL
[Location's href: http:a:b@/www.example.com should throw]
expected: FAIL
[XHR: http::@/www.example.com should throw]
expected: FAIL
[XHR: http:/a:b@/www.example.com should throw]
expected: FAIL
[window.open(): a should throw]
expected: FAIL
[window.open(): http::@/www.example.com should throw]
expected: FAIL
[XHR: a/ should throw]
expected: FAIL
[window.open(): http:/:@/www.example.com should throw]
expected: FAIL
[XHR: http:/@:www.example.com should throw]
expected: FAIL
[window.open(): http:/@/www.example.com should throw]
expected: FAIL
[window.open(): a// should throw]
expected: FAIL
[window.open(): http:a:b@/www.example.com should throw]
expected: FAIL
[window.open(): http:/a:b@/www.example.com should throw]
expected: FAIL
[Location's href: http:/@:www.example.com should throw]
expected: FAIL
[Location's href: http:@/www.example.com should throw]
expected: FAIL
[window.open(): http:@:www.example.com should throw]
expected: FAIL
[Location's href: a should throw]
expected: FAIL
[Location's href: http:/@/www.example.com should throw]
expected: FAIL
[XHR: a// should throw]
expected: FAIL
[Location's href: a/ should throw]
expected: FAIL
[XHR: http:/@/www.example.com should throw]
expected: FAIL
[window.open(): http:/@:www.example.com should throw]
expected: FAIL
[XHR: http:/:@/www.example.com should throw]
expected: FAIL
[window.open(): http:@/www.example.com should throw]
expected: FAIL
[Location's href: http:@:www.example.com should throw]
expected: FAIL
[XHR: a should throw]
expected: FAIL
[window.open(): a/ should throw]
expected: FAIL
[XHR: http:a:b@/www.example.com should throw]
expected: FAIL
[XHR: \\\\\\.\\y: should throw]
expected: FAIL
[XHR: \\\\\\.\\Y: should throw]
expected: FAIL
[window.open(): \\\\\\.\\Y: should throw]
expected: FAIL
[window.open(): \\\\\\.\\y: should throw]
expected: FAIL
[Location's href: \\\\\\.\\y: should throw]
expected: FAIL
[Location's href: \\\\\\.\\Y: should throw]
expected: FAIL
[URL's constructor's base argument: foo://ho|st/ should throw]
expected: FAIL
[URL's href: foo://ho|st/ should throw]
expected: FAIL
[XHR: foo://ho|st/ should throw]
expected: FAIL
[Location's href: foo://ho|st/ should throw]
expected: FAIL
[window.open(): foo://ho|st/ should throw]
expected: FAIL
[Location's href: http://ho%7Cst/ should throw]
expected: FAIL
[Location's href: file://%43%7C should throw]
expected: FAIL
[Location's href: file://%43| should throw]
expected: FAIL
[Location's href: file://C%7C should throw]
expected: FAIL
[Location's href: file://%43%7C/ should throw]
expected: FAIL
[Location's href: https://%43%7C/ should throw]
expected: FAIL
[Location's href: asdf://%43|/ should throw]
expected: FAIL
[Location's href: http://0..0x300/ should throw]
expected: FAIL
[Location's href: http://0..0x300./ should throw]
expected: FAIL
[Location's href: http://1.2.3.08 should throw]
expected: FAIL
[Location's href: http://1.2.3.08. should throw]
expected: FAIL
[Location's href: http://1.2.3.09 should throw]
expected: FAIL
[Location's href: http://09.2.3.4 should throw]
expected: FAIL
[Location's href: http://09.2.3.4. should throw]
expected: FAIL
[Location's href: http://01.2.3.4.5 should throw]
expected: FAIL
[Location's href: http://01.2.3.4.5. should throw]
expected: FAIL
[Location's href: http://0x1.2.3.4.5 should throw]
expected: FAIL
[Location's href: http://0x1.2.3.4.5. should throw]
expected: FAIL
[Location's href: http://foo.1.2.3.4 should throw]
expected: FAIL
[Location's href: http://foo.1.2.3.4. should throw]
expected: FAIL
[Location's href: http://foo.2.3.4 should throw]
expected: FAIL
[Location's href: http://foo.2.3.4. should throw]
expected: FAIL
[Location's href: http://foo.09 should throw]
expected: FAIL
[Location's href: http://foo.09. should throw]
expected: FAIL
[Location's href: http://foo.0x4 should throw]
expected: FAIL
[Location's href: http://foo.0x4. should throw]
expected: FAIL
[Location's href: http://0999999999999999999/ should throw]
expected: FAIL
[Location's href: http://foo.0x should throw]
expected: FAIL
[Location's href: http://foo.0XFfFfFfFfFfFfFfFfFfAcE123 should throw]
expected: FAIL
[Location's href: http://💩.123/ should throw]
expected: FAIL
[Location's href: sc://a|b/ should throw]
expected: FAIL
[Location's href: http://a\x01b/ should throw]
expected: FAIL
[Location's href: http://a\x02b/ should throw]
expected: FAIL
[Location's href: http://a\x03b/ should throw]
expected: FAIL
[Location's href: http://a\x04b/ should throw]
expected: FAIL
[Location's href: http://a\x05b/ should throw]
expected: FAIL
[Location's href: http://a\x06b/ should throw]
expected: FAIL
[Location's href: http://a\x07b/ should throw]
expected: FAIL
[Location's href: http://a\x08b/ should throw]
expected: FAIL
[Location's href: http://a\x0bb/ should throw]
expected: FAIL
[Location's href: http://a\x0cb/ should throw]
expected: FAIL
[Location's href: http://a\x0eb/ should throw]
expected: FAIL
[Location's href: http://a\x0fb/ should throw]
expected: FAIL
[Location's href: http://a\x10b/ should throw]
expected: FAIL
[Location's href: http://a\x11b/ should throw]
expected: FAIL
[Location's href: http://a\x12b/ should throw]
expected: FAIL
[Location's href: http://a\x13b/ should throw]
expected: FAIL
[Location's href: http://a\x14b/ should throw]
expected: FAIL
[Location's href: http://a\x15b/ should throw]
expected: FAIL
[Location's href: http://a\x16b/ should throw]
expected: FAIL
[Location's href: http://a\x17b/ should throw]
expected: FAIL
[Location's href: http://a\x18b/ should throw]
expected: FAIL
[Location's href: http://a\x19b/ should throw]
expected: FAIL
[Location's href: http://a\x1ab/ should throw]
expected: FAIL
[Location's href: http://a\x1bb/ should throw]
expected: FAIL
[Location's href: http://a\x1cb/ should throw]
expected: FAIL
[Location's href: http://a\x1db/ should throw]
expected: FAIL
[Location's href: http://a\x1eb/ should throw]
expected: FAIL
[Location's href: http://a\x1fb/ should throw]
expected: FAIL
[Location's href: http://a|b/ should throw]
expected: FAIL
[Location's href: http://ab/ should throw]
expected: FAIL
[Location's href: http://ho%01st/ should throw]
expected: FAIL
[Location's href: http://ho%02st/ should throw]
expected: FAIL
[Location's href: http://ho%03st/ should throw]
expected: FAIL
[Location's href: http://ho%04st/ should throw]
expected: FAIL
[Location's href: http://ho%05st/ should throw]
expected: FAIL
[Location's href: http://ho%06st/ should throw]
expected: FAIL
[Location's href: http://ho%07st/ should throw]
expected: FAIL
[Location's href: http://ho%08st/ should throw]
expected: FAIL
[Location's href: http://ho%0Bst/ should throw]
expected: FAIL
[Location's href: http://ho%0Cst/ should throw]
expected: FAIL
[Location's href: http://ho%0Est/ should throw]
expected: FAIL
[Location's href: http://ho%0Fst/ should throw]
expected: FAIL
[Location's href: http://ho%10st/ should throw]
expected: FAIL
[Location's href: http://ho%11st/ should throw]
expected: FAIL
[Location's href: http://ho%12st/ should throw]
expected: FAIL
[Location's href: http://ho%13st/ should throw]
expected: FAIL
[Location's href: http://ho%14st/ should throw]
expected: FAIL
[Location's href: http://ho%15st/ should throw]
expected: FAIL
[Location's href: http://ho%16st/ should throw]
expected: FAIL
[Location's href: http://ho%17st/ should throw]
expected: FAIL
[Location's href: http://ho%18st/ should throw]
expected: FAIL
[Location's href: http://ho%19st/ should throw]
expected: FAIL
[Location's href: http://ho%1Ast/ should throw]
expected: FAIL
[Location's href: http://ho%1Bst/ should throw]
expected: FAIL
[Location's href: http://ho%1Cst/ should throw]
expected: FAIL
[Location's href: http://ho%1Dst/ should throw]
expected: FAIL
[Location's href: http://ho%1Est/ should throw]
expected: FAIL
[Location's href: http://ho%1Fst/ should throw]
expected: FAIL
[Location's href: http://ho%7Fst/ should throw]
expected: FAIL
[Location's href: file://example:1/ should throw]
expected: FAIL
[Location's href: file://example:test/ should throw]
expected: FAIL
[Location's href: file://example%/ should throw]
expected: FAIL
[Location's href: file://[example\]/ should throw]
expected: FAIL
[Location's href: http://user:pass@/ should throw]
expected: FAIL
[Location's href: http://foo:-80/ should throw]
expected: FAIL
[Location's href: http://user@/www.example.com should throw]
expected: FAIL
[Location's href: http://@/www.example.com should throw]
expected: FAIL
[Location's href: http://a:b@/www.example.com should throw]
expected: FAIL
[Location's href: http://@:www.example.com should throw]
expected: FAIL
[Location's href: https://<2F> should throw]
expected: FAIL
[Location's href: https://%EF%BF%BD should throw]
expected: FAIL
[Location's href: http://a.b.c.xn--pokxncvks should throw]
expected: FAIL
[Location's href: http://10.0.0.xn--pokxncvks should throw]
expected: FAIL
[Location's href: http://a.b.c.XN--pokxncvks should throw]
expected: FAIL
[Location's href: http://a.b.c.Xn--pokxncvks should throw]
expected: FAIL
[Location's href: http://10.0.0.XN--pokxncvks should throw]
expected: FAIL
[Location's href: http://10.0.0.xN--pokxncvks should throw]
expected: FAIL
[Location's href: https://x x:12 should throw]
expected: FAIL
[Location's href: http://[www.google.com\]/ should throw]
expected: FAIL
[Location's href: sc://@/ should throw]
expected: FAIL
[Location's href: sc://te@s:t@/ should throw]
expected: FAIL
[Location's href: sc://:/ should throw]
expected: FAIL
[Location's href: sc://:12/ should throw]
expected: FAIL
[Location's href: sc://a\x00b/ should throw]
expected: FAIL
[Location's href: sc://a b/ should throw]
expected: FAIL
[Location's href: sc://a<b should throw]
expected: FAIL
[Location's href: sc://a>b should throw]
expected: FAIL
[Location's href: sc://a[b/ should throw]
expected: FAIL
[Location's href: sc://a\\b/ should throw]
expected: FAIL
[Location's href: sc://a\]b/ should throw]
expected: FAIL
[Location's href: sc://a^b should throw]
expected: FAIL
[Location's href: http://a\x00b/ should throw]
expected: FAIL
[Location's href: http://a b/ should throw]
expected: FAIL
[Location's href: http://a%b/ should throw]
expected: FAIL
[Location's href: http://a<b should throw]
expected: FAIL
[Location's href: http://a>b should throw]
expected: FAIL
[Location's href: http://a[b/ should throw]
expected: FAIL
[Location's href: http://a\]b/ should throw]
expected: FAIL
[Location's href: http://a^b should throw]
expected: FAIL
[Location's href: http://ho%00st/ should throw]
expected: FAIL
[Location's href: http://ho%09st/ should throw]
expected: FAIL
[Location's href: http://ho%0Ast/ should throw]
expected: FAIL
[Location's href: http://ho%0Dst/ should throw]
expected: FAIL
[Location's href: http://ho%20st/ should throw]
expected: FAIL
[Location's href: http://ho%23st/ should throw]
expected: FAIL
[Location's href: http://ho%25st/ should throw]
expected: FAIL
[Location's href: http://ho%2Fst/ should throw]
expected: FAIL
[Location's href: http://ho%3Ast/ should throw]
expected: FAIL
[Location's href: http://ho%3Cst/ should throw]
expected: FAIL
[Location's href: http://ho%3Est/ should throw]
expected: FAIL
[Location's href: http://ho%3Fst/ should throw]
expected: FAIL
[Location's href: http://ho%40st/ should throw]
expected: FAIL
[Location's href: http://ho%5Bst/ should throw]
expected: FAIL
[Location's href: http://ho%5Cst/ should throw]
expected: FAIL
[Location's href: http://ho%5Dst/ should throw]
expected: FAIL
[Location's href: ftp://example.com%80/ should throw]
expected: FAIL
[Location's href: ftp://example.com%A0/ should throw]
expected: FAIL
[Location's href: https://example.com%80/ should throw]
expected: FAIL
[Location's href: https://example.com%A0/ should throw]
expected: FAIL
[Location's href: https://0x100000000/test should throw]
expected: FAIL
[Location's href: https://256.0.0.1/test should throw]
expected: FAIL
[Location's href: file://%43%3A should throw]
expected: FAIL
[Location's href: https://[0::0::0\] should throw]
expected: FAIL
[Location's href: https://[0:.0\] should throw]
expected: FAIL
[Location's href: https://[0:0:\] should throw]
expected: FAIL
[Location's href: https://[0:1:2:3:4:5:6:7.0.0.0.1\] should throw]
expected: FAIL
[Location's href: https://[0:1.00.0.0.0\] should throw]
expected: FAIL
[Location's href: https://[0:1.290.0.0.0\] should throw]
expected: FAIL
[Location's href: https://[0:1.23.23\] should throw]
expected: FAIL
[Location's href: http://? should throw]
expected: FAIL
[Location's href: http://# should throw]
expected: FAIL
[Location's href: non-special://[:80/ should throw]
expected: FAIL
[Location's href: http://[::127.0.0.0.1\] should throw]
expected: FAIL
[Location's href: file://­/p should throw]
expected: FAIL
[Location's href: file://%C2%AD/p should throw]
expected: FAIL
[Location's href: file://xn--/p should throw]
expected: FAIL
[Location's href: http://0x100.2.3.4 should throw]
expected: FAIL
[Location's href: http://0x100.2.3.4. should throw]
expected: FAIL
[Location's href: https://\x00y should throw]
expected: FAIL
[Location's href: https://￿y should throw]
expected: FAIL
[XHR: should throw]
expected: FAIL
[Location's href: should throw]
expected: FAIL
[window.open(): should throw]
expected: FAIL
[Location's href: https://­/ should throw]
expected: FAIL
[Location's href: https://%C2%AD/ should throw]
expected: FAIL
[Location's href: https://xn--/ should throw]
expected: FAIL
[Location's href: data://:443 should throw]
expected: FAIL
[Location's href: data://test:test should throw]
expected: FAIL
[Location's href: data://[:1\] should throw]
expected: FAIL
[Location's href: javascript://:443 should throw]
expected: FAIL
[Location's href: javascript://test:test should throw]
expected: FAIL
[Location's href: javascript://[:1\] should throw]
expected: FAIL
[Location's href: mailto://:443 should throw]
expected: FAIL
[Location's href: mailto://test:test should throw]
expected: FAIL
[Location's href: mailto://[:1\] should throw]
expected: FAIL
[Location's href: intent://:443 should throw]
expected: FAIL
[Location's href: intent://test:test should throw]
expected: FAIL
[Location's href: intent://[:1\] should throw]
expected: FAIL
[Location's href: urn://:443 should throw]
expected: FAIL
[Location's href: urn://test:test should throw]
expected: FAIL
[Location's href: urn://[:1\] should throw]
expected: FAIL
[Location's href: turn://:443 should throw]
expected: FAIL
[Location's href: turn://test:test should throw]
expected: FAIL
[Location's href: turn://[:1\] should throw]
expected: FAIL
[Location's href: stun://:443 should throw]
expected: FAIL
[Location's href: stun://test:test should throw]
expected: FAIL
[Location's href: stun://[:1\] should throw]
expected: FAIL

View file

@ -0,0 +1,2 @@
[idlharness-shadowrealm.window.html]
expected: ERROR

View file

@ -0,0 +1,4 @@
[javascript-urls.window.html]
expected: ERROR
[javascript: URL without an opaque path]
expected: FAIL

View file

@ -0,0 +1,24 @@
[percent-encoding.window.html]
[Input † with encoding windows-1252]
expected: FAIL
[Input with encoding shift_jis]
expected: FAIL
[Input \x0eA with encoding iso-2022-jp]
expected: FAIL
[Input  with encoding gb18030]
expected: FAIL
[Input † with encoding big5]
expected: FAIL
[Input † with encoding euc-kr]
expected: FAIL
[Input ‾\\ with encoding iso-2022-jp]
expected: FAIL
[Input U+d800 with encoding windows-1252]
expected: FAIL

View file

@ -0,0 +1,297 @@
[toascii.window.html]
[x..β (using <area>.hostname)]
expected: FAIL
[x..β (using <area>.host)]
expected: FAIL
[ab--c.β (using <area>.hostname)]
expected: FAIL
[a%C2%ADb (using <area>.hostname)]
expected: FAIL
[a†-- (using <area>.hostname)]
expected: FAIL
[xn--a (using <area>)]
expected: FAIL
[a­b (using <area>.host)]
expected: FAIL
[.example (using URL)]
expected: FAIL
[xn--1ug.example (using URL.host)]
expected: FAIL
[<5B>.com (using <area>.host)]
expected: FAIL
[x01234567890123456789012345678901234567890123456789012345678901† (using <area>.hostname)]
expected: FAIL
[.example (using <a>)]
expected: FAIL
[xn-- (using <area>.hostname)]
expected: FAIL
[<5B>.com (using <area>)]
expected: FAIL
[نامه‌ای (using <area>.hostname)]
expected: FAIL
[x01234567890123456789012345678901234567890123456789012345678901† (using <area>.host)]
expected: FAIL
[xn--a-yoc (using <area>)]
expected: FAIL
[<5B>.com (using <area>.hostname)]
expected: FAIL
[%C2%AD (using <area>)]
expected: FAIL
[xn--a.xn--nxa (using <area>.host)]
expected: FAIL
[01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.β (using <area>.host)]
expected: FAIL
[x-.β (using <area>.hostname)]
expected: FAIL
[.example (using <a>.hostname)]
expected: FAIL
[-† (using <area>.hostname)]
expected: FAIL
[­ (using <area>.hostname)]
expected: FAIL
[xn--zn7c.com (using <area>)]
expected: FAIL
[-x.β (using <area>.host)]
expected: FAIL
[xn--1ug.example (using <a>.hostname)]
expected: FAIL
[ශ්‍රී (using <area>.host)]
expected: FAIL
[-x.β (using <area>.hostname)]
expected: FAIL
[نامه‌ای (using <area>.host)]
expected: FAIL
[xn--zn7c.com (using <area>.host)]
expected: FAIL
[xn--a.β (using <area>.hostname)]
expected: FAIL
[xn--a-yoc (using <area>.hostname)]
expected: FAIL
[xn--1ug.example (using <area>.host)]
expected: FAIL
[­ (using <area>)]
expected: FAIL
[xn--1ug.example (using URL.hostname)]
expected: FAIL
[xn--zn7c.com (using <area>.hostname)]
expected: FAIL
[­ (using <area>.host)]
expected: FAIL
[.example (using <area>.host)]
expected: FAIL
[xn--a-yoc (using <area>.host)]
expected: FAIL
[01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.β (using <area>.hostname)]
expected: FAIL
[xn--a (using <area>.host)]
expected: FAIL
[.example (using <area>)]
expected: FAIL
[xn-- (using <area>)]
expected: FAIL
[ශ්‍රී (using <area>.hostname)]
expected: FAIL
[xn--1ug.example (using <area>)]
expected: FAIL
[xn--1ug.example (using URL)]
expected: FAIL
[xn--a (using <area>.hostname)]
expected: FAIL
[x-.β (using <area>.host)]
expected: FAIL
[يa (using <area>)]
expected: FAIL
[xn--1ug.example (using <a>.host)]
expected: FAIL
[xn--a.xn--nxa (using <area>)]
expected: FAIL
[a­b (using <area>.hostname)]
expected: FAIL
[a†-- (using <area>.host)]
expected: FAIL
[.example (using <a>.host)]
expected: FAIL
[.example (using URL.host)]
expected: FAIL
[xn--a.xn--nxa (using <area>.hostname)]
expected: FAIL
[ab--c.β (using <area>.host)]
expected: FAIL
[x01234567890123456789012345678901234567890123456789012345678901x.β (using <area>.hostname)]
expected: FAIL
[xn--a.β (using <area>.host)]
expected: FAIL
[يa (using <area>.host)]
expected: FAIL
[xn--1ug.example (using <a>)]
expected: FAIL
[-† (using <area>.host)]
expected: FAIL
[.example (using URL.hostname)]
expected: FAIL
[x01234567890123456789012345678901234567890123456789012345678901x.β (using <area>.host)]
expected: FAIL
[xn--nxa.β (using <area>.hostname)]
expected: FAIL
[a%C2%ADb (using <area>.host)]
expected: FAIL
[xn-- (using <area>.host)]
expected: FAIL
[يa (using <area>.hostname)]
expected: FAIL
[.example (using <area>.hostname)]
expected: FAIL
[xn--a.β (using <area>)]
expected: FAIL
[%C2%AD (using <area>.host)]
expected: FAIL
[xn--1ug.example (using <area>.hostname)]
expected: FAIL
[%C2%AD (using <area>.hostname)]
expected: FAIL
[xn--nxa.β (using <area>.host)]
expected: FAIL
[-x.ß (using <area>.host)]
expected: FAIL
[-x.ß (using <area>.hostname)]
expected: FAIL
[x-.ß (using <area>.host)]
expected: FAIL
[x-.ß (using <area>.hostname)]
expected: FAIL
[x..ß (using <area>.host)]
expected: FAIL
[x..ß (using <area>.hostname)]
expected: FAIL
[xn--a.xn--zca (using <area>)]
expected: FAIL
[xn--a.xn--zca (using <area>.host)]
expected: FAIL
[xn--a.xn--zca (using <area>.hostname)]
expected: FAIL
[xn--a.ß (using <area>)]
expected: FAIL
[xn--a.ß (using <area>.host)]
expected: FAIL
[xn--a.ß (using <area>.hostname)]
expected: FAIL
[xn--tešla (using <area>)]
expected: FAIL
[xn--tešla (using <area>.host)]
expected: FAIL
[xn--tešla (using <area>.hostname)]
expected: FAIL
[xn--zca.ß (using <area>.host)]
expected: FAIL
[xn--zca.ß (using <area>.hostname)]
expected: FAIL
[ab--c.ß (using <area>.host)]
expected: FAIL
[ab--c.ß (using <area>.hostname)]
expected: FAIL
[x01234567890123456789012345678901234567890123456789012345678901x.ß (using <area>.host)]
expected: FAIL
[x01234567890123456789012345678901234567890123456789012345678901x.ß (using <area>.hostname)]
expected: FAIL
[01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.ß (using <area>.host)]
expected: FAIL
[01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.ß (using <area>.hostname)]
expected: FAIL

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,184 @@
[url-constructor.html]
[Parsing: <gopher:example.com/> against <http://example.org/foo/bar>]
expected: FAIL
[Parsing: <gopher:example.com/> against <about:blank>]
expected: FAIL
[Parsing: <http://example.org/test?a#b\x00c> against <about:blank>]
expected: FAIL
[Parsing: <gopher://foo:70/> against <about:blank>]
expected: FAIL
[Parsing: <non-spec://example.org/test?a#b\x00c> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/test?a#b\x00c> against <about:blank>]
expected: FAIL
[Parsing: <gopher:/example.com/> against <about:blank>]
expected: FAIL
[Parsing: <gopher:/example.com/> against <http://example.org/foo/bar>]
expected: FAIL
[Parsing: <file://­/p> against <about:blank>]
expected: FAIL
[Parsing: <file://%C2%AD/p> against <about:blank>]
expected: FAIL
[Parsing: <file://xn--/p> against <about:blank>]
expected: FAIL
[Parsing: <http://a>b> against <about:blank>]
expected: FAIL
[Parsing: <non-special://a^b> against <about:blank>]
expected: FAIL
[Parsing: <non-special://a>b> against <about:blank>]
expected: FAIL
[Parsing: <non-special://a<b> against <about:blank>]
expected: FAIL
[Parsing: <http://a<b> against <about:blank>]
expected: FAIL
[Parsing: <http://a^b> against <about:blank>]
expected: FAIL
[Parsing: <> against <non-spec:/..//p>]
expected: FAIL
[Parsing: <non-spec:/..//> against <about:blank>]
expected: FAIL
[Parsing: <path> against <non-spec:/..//p>]
expected: FAIL
[Parsing: <non-spec:/.//path> against <about:blank>]
expected: FAIL
[Parsing: <..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <non-spec:/a/..//path> against <about:blank>]
expected: FAIL
[Parsing: </..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <a/..//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <non-spec:/..//path> against <about:blank>]
expected: FAIL
[Parsing: </.//path> against <non-spec:/p>]
expected: FAIL
[Parsing: <non-spec:/.//> against <about:blank>]
expected: FAIL
[Parsing: <non-spec:/a/..//> against <about:blank>]
expected: FAIL
[Parsing: <file://[1::8\]/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file:////one/two> against <file:///>]
expected: FAIL
[Parsing: </..//localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: <file://localhost//a//../..//foo> against <about:blank>]
expected: FAIL
[Parsing: <file:///.//> against <file:////>]
expected: FAIL
[Parsing: <file:\\\\localhost//> against <about:blank>]
expected: FAIL
[Parsing: <file://localhost////foo> against <about:blank>]
expected: FAIL
[Parsing: <C|?> against <file://host/dir/file>]
expected: FAIL
[Parsing: <file:\\\\\\\\> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\#guppy> against <about:blank>]
expected: FAIL
[Parsing: <C|\n/> against <file://host/dir/file>]
expected: FAIL
[Parsing: <file://\\/localhost//cat> against <about:blank>]
expected: FAIL
[Parsing: <file://1.2.3.4/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\\\\\?fox> against <about:blank>]
expected: FAIL
[Parsing: <\\/localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: <file://example.net/C:/> against <about:blank>]
expected: FAIL
[Parsing: <////one/two> against <file:///>]
expected: FAIL
[Parsing: <C|\\> against <file://host/dir/file>]
expected: FAIL
[Parsing: </////mouse> against <file:///elephant>]
expected: FAIL
[Parsing: <file:////foo> against <about:blank>]
expected: FAIL
[Parsing: <file://spider///> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\//> against <about:blank>]
expected: FAIL
[Parsing: <//localhost//pig> against <file://lion/>]
expected: FAIL
[Parsing: </c:/foo/bar> against <file://host/path>]
expected: FAIL
[Parsing: <C|/> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|> against <file://host/dir/file>]
expected: FAIL
[Parsing: <file://localhost//a//../..//> against <about:blank>]
expected: FAIL
[Parsing: <C|#> against <file://host/dir/file>]
expected: FAIL
[Parsing: <C|> against <file://host/D:/dir1/dir2/file>]
expected: FAIL
[Parsing: </> against <file://h/C:/a/b>]
expected: FAIL
[Parsing: <file:.//p> against <about:blank>]
expected: FAIL
[Parsing: <file:/.//p> against <about:blank>]
expected: FAIL

View file

@ -0,0 +1,738 @@
[url-setters-a-area.window.html]
expected: CRASH
[url-setters-a-area.window.html?include=javascript]
[<area>: Setting <javascript:alert(1)>.protocol = 'defuse']
expected: FAIL
[<area>: Setting <javascript:alert(1)>.username = 'wario']
expected: FAIL
[<area>: Setting <javascript://x/>.username = 'wario']
expected: FAIL
[<area>: Setting <javascript://x/>.password = 'bowser']
expected: FAIL
[<area>: Setting <javascript://x/>.port = '12']
expected: FAIL
[<a>: Setting <javascript:alert(1)>.hash = 'castle']
expected: FAIL
[<area>: Setting <javascript:alert(1)>.hash = 'castle']
expected: FAIL
[url-setters-a-area.window.html?include=mailto]
[<area>: Setting <mailto:me@example.net>.protocol = 'http' Cannot-be-a-base URL doesnt have a host, but URL in a special scheme must.]
expected: FAIL
[<area>: Setting <mailto:you@example.net>.username = 'me' Cannot-be-a-base means no username]
expected: FAIL
[<area>: Setting <mailto:me@example.net>.password = 'secret' Cannot-be-a-base means no password]
expected: FAIL
[<area>: Setting <mailto:me@example.net>.host = 'example.com' Cannot-be-a-base means no host]
expected: FAIL
[<area>: Setting <mailto:me@example.net>.hostname = 'example.com' Cannot-be-a-base means no host]
expected: FAIL
[<area>: Setting <mailto:me@example.net>.pathname = '/foo' Cannot-be-a-base dont have a path]
expected: FAIL
[<area>: Setting <mailto:me@example.net>.pathname = '/foo' Opaque paths cannot be set]
expected: FAIL
[url-setters-a-area.window.html?include=file]
[<area>: Setting <file://localhost/>.protocol = 'http' Cant switch from file URL with no host]
expected: FAIL
[<area>: Setting <file:///test>.protocol = 'https']
expected: FAIL
[<area>: Setting <file:>.protocol = 'wss']
expected: FAIL
[<area>: Setting <file://hi/path>.protocol = 's']
expected: FAIL
[<area>: Setting <file:///home/you/index.html>.username = 'me' No host means no username]
expected: FAIL
[<area>: Setting <file://test/>.username = 'test']
expected: FAIL
[<area>: Setting <file:///home/me/index.html>.password = 'secret' No host means no password]
expected: FAIL
[<area>: Setting <file://test/>.password = 'test']
expected: FAIL
[<area>: Setting <file://y/>.host = 'x:123']
expected: FAIL
[<area>: Setting <file://y/>.host = 'loc%41lhost']
expected: FAIL
[<area>: Setting <file://hi/x>.host = '']
expected: FAIL
[<area>: Setting <file://y/>.hostname = 'x:123']
expected: FAIL
[<area>: Setting <file://y/>.hostname = 'loc%41lhost']
expected: FAIL
[<area>: Setting <file://hi/x>.hostname = '']
expected: FAIL
[<area>: Setting <file://test/>.port = '12']
expected: FAIL
[<area>: Setting <file://localhost/>.port = '12']
expected: FAIL
[<area>: Setting <file:///some/path>.pathname = '' Special URLs cannot have their paths erased]
expected: FAIL
[<a>: Setting <file://monkey/>.pathname = '\\\\' File URLs and (back)slashes]
expected: FAIL
[<area>: Setting <file://monkey/>.pathname = '\\\\' File URLs and (back)slashes]
expected: FAIL
[<a>: Setting <file:///unicorn>.pathname = '//\\/' File URLs and (back)slashes]
expected: FAIL
[<area>: Setting <file:///unicorn>.pathname = '//\\/' File URLs and (back)slashes]
expected: FAIL
[<a>: Setting <file:///unicorn>.pathname = '//monkey/..//' File URLs and (back)slashes]
expected: FAIL
[<area>: Setting <file:///unicorn>.pathname = '//monkey/..//' File URLs and (back)slashes]
expected: FAIL
[url-setters-a-area.window.html?exclude=(file|javascript|mailto)]
[<area>: Setting <a://example.net>.protocol = '' The empty string is not a valid scheme. Setter leaves the URL unchanged.]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'b']
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'B' Upper-case ASCII is lower-cased]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'é' Non-ASCII is rejected]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = '0b' No leading digit]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = '+b' No leading punctuation]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'bC0+-.']
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'b,c' Only some punctuation is acceptable]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'bé' Non-ASCII is rejected]
expected: FAIL
[<area>: Setting <http://test@example.net>.protocol = 'file' Cant switch from URL containing username/password/port to file]
expected: FAIL
[<area>: Setting <https://example.net:1234>.protocol = 'file']
expected: FAIL
[<area>: Setting <wss://x:x@example.net:1234>.protocol = 'file']
expected: FAIL
[<area>: Setting <http://example.net>.protocol = 'b' Cant switch from special scheme to non-special]
expected: FAIL
[<area>: Setting <https://example.net>.protocol = 's']
expected: FAIL
[<area>: Setting <ftp://example.net>.protocol = 'test']
expected: FAIL
[<area>: Setting <ssh://me@example.net>.protocol = 'http' Cant switch from non-special scheme to special]
expected: FAIL
[<area>: Setting <ssh://me@example.net>.protocol = 'https']
expected: FAIL
[<area>: Setting <ssh://me@example.net>.protocol = 'file']
expected: FAIL
[<area>: Setting <ssh://example.net>.protocol = 'file']
expected: FAIL
[<area>: Setting <nonsense:///test>.protocol = 'https']
expected: FAIL
[<area>: Setting <http://example.net>.protocol = 'https:foo : bar' Stuff after the first ':' is ignored]
expected: FAIL
[<area>: Setting <data:text/html,<p>Test>.protocol = 'view-source+data:foo : bar' Stuff after the first ':' is ignored]
expected: FAIL
[<area>: Setting <http://foo.com:443/>.protocol = 'https' Port is set to null if it is the default for new scheme.]
expected: FAIL
[<area>: Setting <unix:/run/foo.socket>.username = 'me' No host means no username]
expected: FAIL
[<area>: Setting <http://example.net>.username = 'me']
expected: FAIL
[<area>: Setting <http://:secret@example.net>.username = 'me']
expected: FAIL
[<area>: Setting <http://me@example.net>.username = '']
expected: FAIL
[<area>: Setting <http://me:secret@example.net>.username = '']
expected: FAIL
[<area>: Setting <http://example.net>.username = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
expected: FAIL
[<area>: Setting <http://example.net>.username = '%c3%89té' Bytes already percent-encoded are left as-is.]
expected: FAIL
[<area>: Setting <sc:///>.username = 'x']
expected: FAIL
[<area>: Setting <unix:/run/foo.socket>.password = 'secret' No host means no password]
expected: FAIL
[<area>: Setting <http://example.net>.password = 'secret']
expected: FAIL
[<area>: Setting <http://me@example.net>.password = 'secret']
expected: FAIL
[<area>: Setting <http://:secret@example.net>.password = '']
expected: FAIL
[<area>: Setting <http://me:secret@example.net>.password = '']
expected: FAIL
[<area>: Setting <http://example.net>.password = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
expected: FAIL
[<area>: Setting <http://example.net>.password = '%c3%89té' Bytes already percent-encoded are left as-is.]
expected: FAIL
[<area>: Setting <sc:///>.password = 'x']
expected: FAIL
[<area>: Setting <sc://x/>.host = '\x00' Non-special scheme]
expected: FAIL
[<area>: Setting <sc://x/>.host = '\t']
expected: FAIL
[<area>: Setting <sc://x/>.host = '\n']
expected: FAIL
[<area>: Setting <sc://x/>.host = '\r']
expected: FAIL
[<area>: Setting <sc://x/>.host = ' ']
expected: FAIL
[<area>: Setting <sc://x/>.host = '#']
expected: FAIL
[<area>: Setting <sc://x/>.host = '/']
expected: FAIL
[<area>: Setting <sc://x/>.host = '?']
expected: FAIL
[<area>: Setting <sc://x/>.host = '@']
expected: FAIL
[<area>: Setting <sc://x/>.host = 'ß']
expected: FAIL
[<area>: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
expected: FAIL
[<area>: Setting <data:text/plain,Stuff>.host = 'example.net' Cannot-be-a-base means no host]
expected: FAIL
[<area>: Setting <http://example.net>.host = 'example.com:8080']
expected: FAIL
[<area>: Setting <http://example.net:8080>.host = 'example.com' Port number is unchanged if not specified in the new value]
expected: FAIL
[<area>: Setting <http://example.net:8080>.host = 'example.com:' Port number is unchanged if not specified]
expected: FAIL
[<area>: Setting <http://example.net>.host = '' The empty host is not valid for special schemes]
expected: FAIL
[<area>: Setting <view-source+http://example.net/foo>.host = '' The empty host is OK for non-special schemes]
expected: FAIL
[<area>: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host]
expected: FAIL
[<area>: Setting <http://example.net>.host = '0x7F000001:8080' IPv4 address syntax is normalized]
expected: FAIL
[<area>: Setting <http://example.net>.host = '[::0:01\]:2' IPv6 address syntax is normalized]
expected: FAIL
[<area>: Setting <http://example.net>.host = '[2001:db8::2\]:4002' IPv6 literal address with port, crbug.com/1012416]
expected: FAIL
[<area>: Setting <http://example.net>.host = 'example.com:80' Default port number is removed]
expected: FAIL
[<area>: Setting <https://example.net>.host = 'example.com:443' Default port number is removed]
expected: FAIL
[<area>: Setting <https://example.net>.host = 'example.com:80' Default port number is only removed for the relevant scheme]
expected: FAIL
[<area>: Setting <http://example.net:8080>.host = 'example.com:80' Port number is removed if new port is scheme default and existing URL has a non-default port]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com/stuff' Stuff after a / delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080/stuff' Stuff after a / delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com?stuff' Stuff after a ? delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080?stuff' Stuff after a ? delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com#stuff' Stuff after a # delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080#stuff' Stuff after a # delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
expected: FAIL
[<area>: Setting <view-source+http://example.net/path>.host = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
expected: FAIL
[<area>: Setting <view-source+http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:65535' Port numbers are 16 bit integers]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:65536' Port numbers are 16 bit integers, overflowing is an error. Hostname is still set, though.]
expected: FAIL
[<area>: Setting <http://example.net/>.host = '[google.com\]' Broken IPv6]
expected: FAIL
[<area>: Setting <http://example.net/>.host = '[::1.2.3.4x\]']
expected: FAIL
[<area>: Setting <http://example.net/>.host = '[::1.2.3.\]']
expected: FAIL
[<area>: Setting <http://example.net/>.host = '[::1.2.\]']
expected: FAIL
[<area>: Setting <http://example.net/>.host = '[::1.\]']
expected: FAIL
[<area>: Setting <sc://test@test/>.host = '']
expected: FAIL
[<area>: Setting <sc://test:12/>.host = '']
expected: FAIL
[<area>: Setting <http://example.com/>.host = '///bad.com' Leading / is not stripped]
expected: FAIL
[<area>: Setting <sc://example.com/>.host = '///bad.com' Leading / is not stripped]
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '\x00' Non-special scheme]
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '\t']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '\n']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '\r']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = ' ']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '#']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '/']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '?']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '@']
expected: FAIL
[<area>: Setting <data:text/plain,Stuff>.hostname = 'example.net' Cannot-be-a-base means no host]
expected: FAIL
[<area>: Setting <http://example.net:8080>.hostname = 'example.com']
expected: FAIL
[<area>: Setting <http://example.net>.hostname = '' The empty host is not valid for special schemes]
expected: FAIL
[<area>: Setting <view-source+http://example.net/foo>.hostname = '' The empty host is OK for non-special schemes]
expected: FAIL
[<area>: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host]
expected: FAIL
[<area>: Setting <http://example.net:8080>.hostname = '0x7F000001' IPv4 address syntax is normalized]
expected: FAIL
[<area>: Setting <http://example.net>.hostname = '[::0:01\]' IPv6 address syntax is normalized]
expected: FAIL
[<a>: Setting <http://example.net/path>.hostname = 'example.com:8080' : delimiter invalidates entire value]
expected: FAIL
[<area>: Setting <http://example.net/path>.hostname = 'example.com:8080' : delimiter invalidates entire value]
expected: FAIL
[<a>: Setting <http://example.net:8080/path>.hostname = 'example.com:' : delimiter invalidates entire value]
expected: FAIL
[<area>: Setting <http://example.net:8080/path>.hostname = 'example.com:' : delimiter invalidates entire value]
expected: FAIL
[<area>: Setting <http://example.net/path>.hostname = 'example.com/stuff' Stuff after a / delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.hostname = 'example.com?stuff' Stuff after a ? delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.hostname = 'example.com#stuff' Stuff after a # delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.hostname = 'example.com\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
expected: FAIL
[<area>: Setting <view-source+http://example.net/path>.hostname = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
expected: FAIL
[<area>: Setting <http://example.net/>.hostname = '[google.com\]' Broken IPv6]
expected: FAIL
[<area>: Setting <http://example.net/>.hostname = '[::1.2.3.4x\]']
expected: FAIL
[<area>: Setting <http://example.net/>.hostname = '[::1.2.3.\]']
expected: FAIL
[<area>: Setting <http://example.net/>.hostname = '[::1.2.\]']
expected: FAIL
[<area>: Setting <http://example.net/>.hostname = '[::1.\]']
expected: FAIL
[<area>: Setting <sc://test@test/>.hostname = '']
expected: FAIL
[<area>: Setting <sc://test:12/>.hostname = '']
expected: FAIL
[<area>: Setting <non-spec:/.//p>.hostname = 'h' Drop /. from path]
expected: FAIL
[<area>: Setting <non-spec:/.//p>.hostname = '']
expected: FAIL
[<area>: Setting <http://example.com/>.hostname = '///bad.com' Leading / is not stripped]
expected: FAIL
[<area>: Setting <sc://example.com/>.hostname = '///bad.com' Leading / is not stripped]
expected: FAIL
[<area>: Setting <http://example.net>.port = '8080']
expected: FAIL
[<area>: Setting <http://example.net:8080>.port = '' Port number is removed if empty is the new value]
expected: FAIL
[<area>: Setting <http://example.net:8080>.port = '80' Default port number is removed]
expected: FAIL
[<area>: Setting <https://example.net:4433>.port = '443' Default port number is removed]
expected: FAIL
[<area>: Setting <https://example.net>.port = '80' Default port number is only removed for the relevant scheme]
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080/stuff' Stuff after a / delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080?stuff' Stuff after a ? delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080#stuff' Stuff after a # delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
expected: FAIL
[<area>: Setting <view-source+http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '65535' Port numbers are 16 bit integers]
expected: FAIL
[<area>: Setting <http://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error]
expected: FAIL
[<area>: Setting <non-special://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error]
expected: FAIL
[<area>: Setting <non-base:value>.port = '12']
expected: FAIL
[<area>: Setting <sc:///>.port = '12']
expected: FAIL
[<area>: Setting <sc://x/>.port = '12']
expected: FAIL
[<a>: Setting <foo://somehost/some/path>.pathname = '' Non-special URLs can have their paths erased]
expected: FAIL
[<area>: Setting <foo://somehost/some/path>.pathname = '' Non-special URLs can have their paths erased]
expected: FAIL
[<a>: Setting <foo:///some/path>.pathname = '' Non-special URLs with an empty host can have their paths erased]
expected: FAIL
[<area>: Setting <foo:///some/path>.pathname = '' Non-special URLs with an empty host can have their paths erased]
expected: FAIL
[<area>: Setting <foo:/some/path>.pathname = '' Path-only URLs cannot have their paths erased]
expected: FAIL
[<area>: Setting <foo:/some/path>.pathname = 'test' Path-only URLs always have an initial slash]
expected: FAIL
[<area>: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket']
expected: FAIL
[<area>: Setting <https://example.net#nav>.pathname = 'home']
expected: FAIL
[<area>: Setting <https://example.net#nav>.pathname = '../home']
expected: FAIL
[<area>: Setting <http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is a segment delimiter for 'special' URLs]
expected: FAIL
[<area>: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is *not* a segment delimiter for non-'special' URLs]
expected: FAIL
[<area>: Setting <a:/>.pathname = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed.]
expected: FAIL
[<area>: Setting <http://example.net>.pathname = '%2e%2E%c3%89té' Bytes already percent-encoded are left as-is, including %2E outside dotted segments.]
expected: FAIL
[<area>: Setting <http://example.net>.pathname = '?' ? needs to be encoded]
expected: FAIL
[<area>: Setting <http://example.net>.pathname = '#' # needs to be encoded]
expected: FAIL
[<area>: Setting <sc://example.net>.pathname = '?' ? needs to be encoded, non-special scheme]
expected: FAIL
[<area>: Setting <sc://example.net>.pathname = '#' # needs to be encoded, non-special scheme]
expected: FAIL
[<area>: Setting <http://example.net>.pathname = '/?é' ? doesn't mess up encoding]
expected: FAIL
[<area>: Setting <http://example.net>.pathname = '/#é' # doesn't mess up encoding]
expected: FAIL
[<a>: Setting <non-spec:/>.pathname = '/.//p' Serialize /. in path]
expected: FAIL
[<area>: Setting <non-spec:/>.pathname = '/.//p' Serialize /. in path]
expected: FAIL
[<a>: Setting <non-spec:/>.pathname = '/..//p']
expected: FAIL
[<area>: Setting <non-spec:/>.pathname = '/..//p']
expected: FAIL
[<a>: Setting <non-spec:/>.pathname = '//p']
expected: FAIL
[<area>: Setting <non-spec:/>.pathname = '//p']
expected: FAIL
[<area>: Setting <non-spec:/.//>.pathname = 'p' Drop /. from path]
expected: FAIL
[<area>: Setting <https://example.net#nav>.search = 'lang=fr']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.search = 'lang=fr']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.search = '?lang=fr']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.search = '??lang=fr']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.search = '?']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.search = '']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US>.search = '']
expected: FAIL
[<area>: Setting <https://example.net>.search = '']
expected: FAIL
[<area>: Setting <a:/>.search = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.]
expected: FAIL
[<area>: Setting <http://example.net>.search = '%c3%89té' Bytes already percent-encoded are left as-is]
expected: FAIL
[<area>: Setting <https://example.net>.hash = 'main']
expected: FAIL
[<area>: Setting <https://example.net#nav>.hash = 'main']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US>.hash = '##nav']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.hash = '#main']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.hash = '#']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.hash = '']
expected: FAIL
[<area>: Setting <http://example.net>.hash = '#foo bar']
expected: FAIL
[<area>: Setting <http://example.net>.hash = '#foo"bar']
expected: FAIL
[<area>: Setting <http://example.net>.hash = '#foo<bar']
expected: FAIL
[<area>: Setting <http://example.net>.hash = '#foo>bar']
expected: FAIL
[<area>: Setting <http://example.net>.hash = '#foo`bar']
expected: FAIL
[<area>: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; tabs and newlines are removed]
expected: FAIL
[<area>: Setting <http://example.net>.hash = 'a\x00b' Percent-encode NULLs in fragment]
expected: FAIL
[<area>: Setting <non-spec:/>.hash = 'a\x00b' Percent-encode NULLs in fragment]
expected: FAIL
[<area>: Setting <http://example.net>.hash = '%c3%89té' Bytes already percent-encoded are left as-is]
expected: FAIL
[<area>: Setting <data:original>.pathname = 'new value']
expected: FAIL
[<area>: Setting <sc:original>.pathname = 'new value']
expected: FAIL
[<a>: Setting <data:/nospace>.pathname = 'space ' Non-special URLs with non-opaque paths percent-encode U+0020]
expected: FAIL
[<area>: Setting <data:/nospace>.pathname = 'space ' Non-special URLs with non-opaque paths percent-encode U+0020]
expected: FAIL
[<a>: Setting <sc:/nospace>.pathname = 'space ']
expected: FAIL
[<area>: Setting <sc:/nospace>.pathname = 'space ']
expected: FAIL
[<area>: Setting <data:space ?query>.search = '' Drop trailing spaces from trailing opaque paths]
expected: FAIL
[<area>: Setting <sc:space ?query>.search = '']
expected: FAIL
[<area>: Setting <data:space ?query#fragment>.search = '' Do not drop trailing spaces from non-trailing opaque paths]
expected: FAIL
[<area>: Setting <sc:space ?query#fragment>.search = '']
expected: FAIL
[<area>: Setting <data:space #fragment>.hash = '' Drop trailing spaces from trailing opaque paths]
expected: FAIL
[<area>: Setting <sc:space #fragment>.hash = '']
expected: FAIL
[<area>: Setting <data:space ?query#fragment>.hash = '' Do not drop trailing spaces from non-trailing opaque paths]
expected: FAIL
[<area>: Setting <sc:space ?query#fragment>.hash = '']
expected: FAIL

View file

@ -0,0 +1,134 @@
[url-setters-stripping.any.html]
[Setting protocol with U+0000 before inserted colon (https:)]
expected: FAIL
[Setting protocol with leading U+0000 (wpt++:)]
expected: FAIL
[Setting pathname with trailing U+001F (https:)]
expected: FAIL
[Setting protocol with leading U+001F (https:)]
expected: FAIL
[Setting pathname with trailing U+001F (wpt++:)]
expected: FAIL
[Setting protocol with leading U+0000 (https:)]
expected: FAIL
[Setting host with leading U+001F (https:)]
expected: FAIL
[Setting hostname with leading U+001F (https:)]
expected: FAIL
[Setting protocol with U+001F before inserted colon (wpt++:)]
expected: FAIL
[Setting hostname with trailing U+001F (https:)]
expected: FAIL
[Setting host with trailing U+001F (https:)]
expected: FAIL
[Setting pathname with trailing U+0000 (https:)]
expected: FAIL
[Setting port with leading U+0000 (wpt++:)]
expected: FAIL
[Setting protocol with U+0000 before inserted colon (wpt++:)]
expected: FAIL
[Setting protocol with U+001F before inserted colon (https:)]
expected: FAIL
[Setting pathname with trailing U+0000 (wpt++:)]
expected: FAIL
[Setting protocol with leading U+001F (wpt++:)]
expected: FAIL
[Setting port with leading U+0000 (https:)]
expected: FAIL
[Setting port with leading U+001F (https:)]
expected: FAIL
[Setting port with leading U+001F (wpt++:)]
expected: FAIL
[Setting host with middle U+001F (https:)]
expected: FAIL
[Setting hostname with middle U+001F (https:)]
expected: FAIL
[url-setters-stripping.any.worker.html]
[Setting protocol with U+0000 before inserted colon (https:)]
expected: FAIL
[Setting protocol with leading U+0000 (wpt++:)]
expected: FAIL
[Setting pathname with trailing U+001F (https:)]
expected: FAIL
[Setting protocol with leading U+001F (https:)]
expected: FAIL
[Setting pathname with trailing U+001F (wpt++:)]
expected: FAIL
[Setting protocol with leading U+0000 (https:)]
expected: FAIL
[Setting host with leading U+001F (https:)]
expected: FAIL
[Setting hostname with leading U+001F (https:)]
expected: FAIL
[Setting protocol with U+001F before inserted colon (wpt++:)]
expected: FAIL
[Setting hostname with trailing U+001F (https:)]
expected: FAIL
[Setting host with trailing U+001F (https:)]
expected: FAIL
[Setting pathname with trailing U+0000 (https:)]
expected: FAIL
[Setting port with leading U+0000 (wpt++:)]
expected: FAIL
[Setting protocol with U+0000 before inserted colon (wpt++:)]
expected: FAIL
[Setting protocol with U+001F before inserted colon (https:)]
expected: FAIL
[Setting pathname with trailing U+0000 (wpt++:)]
expected: FAIL
[Setting protocol with leading U+001F (wpt++:)]
expected: FAIL
[Setting port with leading U+0000 (https:)]
expected: FAIL
[Setting port with leading U+001F (https:)]
expected: FAIL
[Setting port with leading U+001F (wpt++:)]
expected: FAIL
[Setting host with middle U+001F (https:)]
expected: FAIL
[Setting hostname with middle U+001F (https:)]
expected: FAIL

View file

@ -0,0 +1,125 @@
[url-setters.any.worker.html]
expected: CRASH
[url-setters.any.html]
expected: CRASH
[url-setters.any.html?exclude=(file|javascript|mailto)]
[URL: Setting <http://example.net/path>.hostname = 'example.com:8080' : delimiter invalidates entire value]
expected: FAIL
[URL: Setting <http://example.net:8080/path>.hostname = 'example.com:' : delimiter invalidates entire value]
expected: FAIL
[URL: Setting <foo://somehost/some/path>.pathname = '' Non-special URLs can have their paths erased]
expected: FAIL
[URL: Setting <foo:///some/path>.pathname = '' Non-special URLs with an empty host can have their paths erased]
expected: FAIL
[URL: Setting <non-spec:/>.pathname = '/.//p' Serialize /. in path]
expected: FAIL
[URL: Setting <non-spec:/>.pathname = '/..//p']
expected: FAIL
[URL: Setting <non-spec:/>.pathname = '//p']
expected: FAIL
[URL: Setting <data:/nospace>.pathname = 'space ' Non-special URLs with non-opaque paths percent-encode U+0020]
expected: FAIL
[URL: Setting <sc:/nospace>.pathname = 'space ']
expected: FAIL
[URL: Setting <data:space ?query>.search = '' Drop trailing spaces from trailing opaque paths]
expected: FAIL
[URL: Setting <sc:space ?query>.search = '']
expected: FAIL
[URL: Setting <data:space #fragment>.hash = '' Drop trailing spaces from trailing opaque paths]
expected: FAIL
[URL: Setting <sc:space #fragment>.hash = '']
expected: FAIL
[url-setters.any.worker.html?include=javascript]
[url-setters.any.worker.html?include=file]
[URL: Setting <file://monkey/>.pathname = '\\\\' File URLs and (back)slashes]
expected: FAIL
[URL: Setting <file:///unicorn>.pathname = '//\\/' File URLs and (back)slashes]
expected: FAIL
[URL: Setting <file:///unicorn>.pathname = '//monkey/..//' File URLs and (back)slashes]
expected: FAIL
[url-setters.any.html?include=javascript]
[url-setters.any.html?include=mailto]
[url-setters.any.worker.html?exclude=(file|javascript|mailto)]
[URL: Setting <http://example.net/path>.hostname = 'example.com:8080' : delimiter invalidates entire value]
expected: FAIL
[URL: Setting <http://example.net:8080/path>.hostname = 'example.com:' : delimiter invalidates entire value]
expected: FAIL
[URL: Setting <foo://somehost/some/path>.pathname = '' Non-special URLs can have their paths erased]
expected: FAIL
[URL: Setting <foo:///some/path>.pathname = '' Non-special URLs with an empty host can have their paths erased]
expected: FAIL
[URL: Setting <file://monkey/>.pathname = '\\\\' File URLs and (back)slashes]
expected: FAIL
[URL: Setting <file:///unicorn>.pathname = '//\\/' File URLs and (back)slashes]
expected: FAIL
[URL: Setting <file:///unicorn>.pathname = '//monkey/..//' File URLs and (back)slashes]
expected: FAIL
[URL: Setting <non-spec:/>.pathname = '/.//p' Serialize /. in path]
expected: FAIL
[URL: Setting <non-spec:/>.pathname = '/..//p']
expected: FAIL
[URL: Setting <non-spec:/>.pathname = '//p']
expected: FAIL
[URL: Setting <data:/nospace>.pathname = 'space ' Non-special URLs with non-opaque paths percent-encode U+0020]
expected: FAIL
[URL: Setting <sc:/nospace>.pathname = 'space ']
expected: FAIL
[URL: Setting <data:space ?query>.search = '' Drop trailing spaces from trailing opaque paths]
expected: FAIL
[URL: Setting <sc:space ?query>.search = '']
expected: FAIL
[URL: Setting <data:space #fragment>.hash = '' Drop trailing spaces from trailing opaque paths]
expected: FAIL
[URL: Setting <sc:space #fragment>.hash = '']
expected: FAIL
[url-setters.any.worker.html?include=mailto]
[url-setters.any.html?include=file]
[URL: Setting <file://monkey/>.pathname = '\\\\' File URLs and (back)slashes]
expected: FAIL
[URL: Setting <file:///unicorn>.pathname = '//\\/' File URLs and (back)slashes]
expected: FAIL
[URL: Setting <file:///unicorn>.pathname = '//monkey/..//' File URLs and (back)slashes]
expected: FAIL

View file

@ -0,0 +1,635 @@
[url-setters.html]
expected: CRASH
[<area>: Setting <http://me@example.net>.password = 'secret']
expected: FAIL
[<area>: Setting <unix:/run/foo.socket>.password = 'secret' No host means no password]
expected: FAIL
[<area>: Setting <nonsense:///test>.protocol = 'https']
expected: FAIL
[<area>: Setting <http://example.net>.port = '8080']
expected: FAIL
[<area>: Setting <http://:secret@example.net>.username = 'me']
expected: FAIL
[<area>: Setting <file://hi/x>.hostname = '']
expected: FAIL
[<area>: Setting <gopher://example.net:1234>.protocol = 'file']
expected: FAIL
[<area>: Setting <http://example.net>.pathname = '?' ? needs to be encoded]
expected: FAIL
[<area>: Setting <javascript:alert(1)>.username = 'wario']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '@']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US>.search = '']
expected: FAIL
[<area>: Setting <sc://x/>.port = '12']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '\r']
expected: FAIL
[<area>: Setting <http://example.net/>.hostname = '[google.com\]' Broken IPv6]
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080/stuff' Stuff after a / delimiter is ignored]
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '#']
expected: FAIL
[<area>: Setting <file://y/>.hostname = 'x:123']
expected: FAIL
[<area>: Setting <http://example.net/>.hostname = '[::1.2.3.4x\]']
expected: FAIL
[<a>: Setting <http://example.net>.hash = 'a\x00b' Percent-encode NULLs in fragment]
expected: FAIL
[<area>: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket']
expected: FAIL
[<area>: Setting <http://example.net:8080>.hostname = '0x7F000001' IPv4 address syntax is normalized]
expected: FAIL
[<area>: Setting <mailto:you@example.net>.username = 'me' Cannot-be-a-base means no username]
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.search = '??lang=fr']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.hash = '']
expected: FAIL
[<area>: Setting <wss://x:x@example.net:1234>.protocol = 'file']
expected: FAIL
[<area>: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
expected: FAIL
[<area>: Setting <file:///unicorn>.pathname = '//\\/' File URLs and (back)slashes]
expected: FAIL
[<area>: Setting <http://example.net>.hash = 'a\x00b' Percent-encode NULLs in fragment]
expected: FAIL
[<area>: Setting <http://example.net>.host = '[2001:db8::2\]:4002' IPv6 literal address with port, crbug.com/1012416]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = '+b' No leading punctuation]
expected: FAIL
[<area>: Setting <sc://test@test/>.hostname = '']
expected: FAIL
[<area>: Setting <http://example.net:8080>.port = '80' Default port number is removed]
expected: FAIL
[<area>: Setting <http://example.net:8080>.port = '' Port number is removed if empty is the new value]
expected: FAIL
[<area>: Setting <ssh://me@example.net>.protocol = 'https']
expected: FAIL
[<area>: Setting <http://foo.com:443/>.protocol = 'https' Port is set to null if it is the default for new scheme.]
expected: FAIL
[<area>: Setting <http://example.net>.protocol = 'b' Cant switch from special scheme to non-special]
expected: FAIL
[<area>: Setting <data:text/plain,Stuff>.host = 'example.net' Cannot-be-a-base means no host]
expected: FAIL
[<area>: Setting <file://test/>.port = '12']
expected: FAIL
[<area>: Setting <sc://x/>.host = '/']
expected: FAIL
[<area>: Setting <file:///unicorn>.pathname = '//monkey/..//' File URLs and (back)slashes]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com#stuff' Stuff after a # delimiter is ignored]
expected: FAIL
[<area>: Setting <mailto:me@example.net>.password = 'secret' Cannot-be-a-base means no password]
expected: FAIL
[<area>: Setting <file://hi/x>.host = '']
expected: FAIL
[<area>: Setting <file:///test>.protocol = 'gopher']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.search = '?lang=fr']
expected: FAIL
[<area>: Setting <http://example.net>.pathname = '#' # needs to be encoded]
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.hash = '#main']
expected: FAIL
[<area>: Setting <file://test/>.username = 'test']
expected: FAIL
[<area>: Setting <view-source+http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
expected: FAIL
[<area>: Setting <file:///home/you/index.html>.username = 'me' No host means no username]
expected: FAIL
[<area>: Setting <http://example.net>.host = '0x7F000001:8080' IPv4 address syntax is normalized]
expected: FAIL
[<area>: Setting <http://example.net/>.host = '[::1.\]']
expected: FAIL
[<area>: Setting <http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is a segment delimiter for 'special' URLs]
expected: FAIL
[<area>: Setting <file://localhost/>.protocol = 'http' Cant switch from file URL with no host]
expected: FAIL
[<area>: Setting <javascript:alert(1)>.hash = 'castle']
expected: FAIL
[<area>: Setting <https://example.net>.port = '80' Default port number is only removed for the relevant scheme]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
expected: FAIL
[<area>: Setting <sc://x/>.host = '\x00' Non-special scheme]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080#stuff' Stuff after a # delimiter is ignored]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'bé' Non-ASCII is rejected]
expected: FAIL
[<area>: Setting <http://example.net>.username = '%c3%89té' Bytes already percent-encoded are left as-is.]
expected: FAIL
[<area>: Setting <a:/>.pathname = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed.]
expected: FAIL
[<area>: Setting <mailto:me@example.net>.pathname = '/foo' Cannot-be-a-base dont have a path]
expected: FAIL
[<area>: Setting <file://y/>.hostname = 'loc%41lhost']
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'é' Non-ASCII is rejected]
expected: FAIL
[<area>: Setting <file:///home/me/index.html>.password = 'secret' No host means no password]
expected: FAIL
[<area>: Setting <http://example.net>.hash = '#foo`bar']
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'b,c' Only some punctuation is acceptable]
expected: FAIL
[<area>: Setting <http://example.net>.password = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080?stuff' Stuff after a ? delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.hostname = 'example.com/stuff' Stuff after a / delimiter is ignored]
expected: FAIL
[<area>: Setting <javascript://x/>.username = 'wario']
expected: FAIL
[<area>: Setting <http://example.net>.hash = '#foo"bar']
expected: FAIL
[<area>: Setting <http://example.net>.password = 'secret']
expected: FAIL
[<area>: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host]
expected: FAIL
[<area>: Setting <http://example.net>.host = 'example.com:8080']
expected: FAIL
[<area>: Setting <file://test/>.password = 'test']
expected: FAIL
[<area>: Setting <non-spec:/>.hash = 'a\x00b' Percent-encode NULLs in fragment]
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
expected: FAIL
[<area>: Setting <ftp://example.net>.protocol = 'test']
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com?stuff' Stuff after a ? delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <http://example.net>.host = '' The empty host is not valid for special schemes]
expected: FAIL
[<area>: Setting <http://example.net>.hostname = '' The empty host is not valid for special schemes]
expected: FAIL
[<area>: Setting <view-source+http://example.net/foo>.host = '' The empty host is OK for non-special schemes]
expected: FAIL
[<area>: Setting <https://example.net>.search = '']
expected: FAIL
[<area>: Setting <a://example.net>.protocol = '' The empty string is not a valid scheme. Setter leaves the URL unchanged.]
expected: FAIL
[<area>: Setting <http://example.net/>.host = '[::1.2.\]']
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080#stuff' Stuff after a # delimiter is ignored]
expected: FAIL
[<area>: Setting <https://example.net>.host = 'example.com:443' Default port number is removed]
expected: FAIL
[<a>: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; tabs and newlines are removed]
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.search = '']
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '65535' Port numbers are 16 bit integers]
expected: FAIL
[<area>: Setting <file://hi/path>.protocol = 's']
expected: FAIL
[<area>: Setting <mailto:me@example.net>.hostname = 'example.com' Cannot-be-a-base means no host]
expected: FAIL
[<area>: Setting <http://example.net/>.host = '[google.com\]' Broken IPv6]
expected: FAIL
[<area>: Setting <view-source+http://example.net/path>.hostname = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
expected: FAIL
[<area>: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; tabs and newlines are removed]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = '0b' No leading digit]
expected: FAIL
[<area>: Setting <sc://test:12/>.host = '']
expected: FAIL
[<area>: Setting <sc://example.net>.pathname = '?' ? needs to be encoded, non-special scheme]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:65536' Port numbers are 16 bit integers, overflowing is an error. Hostname is still set, though.]
expected: FAIL
[<area>: Setting <http://test@example.net>.protocol = 'file' Cant switch from URL containing username/password/port to file]
expected: FAIL
[<area>: Setting <http://:secret@example.net>.password = '']
expected: FAIL
[<area>: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host]
expected: FAIL
[<area>: Setting <http://example.net>.password = '%c3%89té' Bytes already percent-encoded are left as-is.]
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '/']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.hash = '#']
expected: FAIL
[<area>: Setting <http://example.net>.host = '[::0:01\]:2' IPv6 address syntax is normalized]
expected: FAIL
[URL: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; tabs and newlines are removed]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080/stuff' Stuff after a / delimiter is ignored]
expected: FAIL
[<area>: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is *not* a segment delimiter for non-'special' URLs]
expected: FAIL
[<area>: Setting <sc://x/>.host = '@']
expected: FAIL
[<a>: Setting <non-spec:/>.hash = 'a\x00b' Percent-encode NULLs in fragment]
expected: FAIL
[<area>: Setting <http://example.net>.hash = '#foo<bar']
expected: FAIL
[<area>: Setting <ssh://me@example.net>.protocol = 'file']
expected: FAIL
[<area>: Setting <mailto:me@example.net>.protocol = 'http' Cannot-be-a-base URL doesnt have a host, but URL in a special scheme must.]
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US>.hash = '##nav']
expected: FAIL
[<area>: Setting <file://y/>.host = 'loc%41lhost']
expected: FAIL
[<area>: Setting <http://me:secret@example.net>.password = '']
expected: FAIL
[<area>: Setting <https://example.net#nav>.pathname = '../home']
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'bC0+-.']
expected: FAIL
[<area>: Setting <sc://x/>.host = '\r']
expected: FAIL
[<area>: Setting <https://example.net>.protocol = 's']
expected: FAIL
[<area>: Setting <sc://test@test/>.host = '']
expected: FAIL
[<area>: Setting <sc://x/>.host = '#']
expected: FAIL
[<area>: Setting <http://example.net/>.hostname = '[::1.\]']
expected: FAIL
[<area>: Setting <sc:///>.password = 'x']
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'b']
expected: FAIL
[<area>: Setting <javascript://x/>.port = '12']
expected: FAIL
[<area>: Setting <sc:///>.username = 'x']
expected: FAIL
[<area>: Setting <sc://example.net>.pathname = '#' # needs to be encoded, non-special scheme]
expected: FAIL
[<area>: Setting <http://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error]
expected: FAIL
[<area>: Setting <http://example.net>.host = 'example.com:80' Default port number is removed]
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.search = 'lang=fr']
expected: FAIL
[<area>: Setting <mailto:me@example.net>.host = 'example.com' Cannot-be-a-base means no host]
expected: FAIL
[<area>: Setting <sc://x/>.host = 'ß']
expected: FAIL
[<area>: Setting <file://localhost/>.port = '12']
expected: FAIL
[<area>: Setting <http://example.net>.username = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
expected: FAIL
[<area>: Setting <https://example.net#nav>.hash = 'main']
expected: FAIL
[<area>: Setting <sc:///>.port = '12']
expected: FAIL
[<area>: Setting <http://example.net/path>.hostname = 'example.com:8080' Stuff after a : delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net/path>.hostname = 'example.com#stuff' Stuff after a # delimiter is ignored]
expected: FAIL
[<area>: Setting <non-special://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error]
expected: FAIL
[<area>: Setting <file://monkey/>.pathname = '\\\\' File URLs and (back)slashes]
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '\n']
expected: FAIL
[<area>: Setting <a:/>.search = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.]
expected: FAIL
[<area>: Setting <http://example.net>.username = 'me']
expected: FAIL
[<area>: Setting <view-source+http://example.net/foo>.hostname = '' The empty host is OK for non-special schemes]
expected: FAIL
[<area>: Setting <http://example.net>.hash = '#foo bar']
expected: FAIL
[<area>: Setting <http://example.net:8080>.host = 'example.com:80' Port number is removed if new port is scheme default and existing URL has a non-default port]
expected: FAIL
[<area>: Setting <https://example.net>.hash = 'main']
expected: FAIL
[<area>: Setting <sc://x/>.host = '\t']
expected: FAIL
[<area>: Setting <sc://x/>.host = '?']
expected: FAIL
[<area>: Setting <http://example.net/path>.hostname = 'example.com?stuff' Stuff after a ? delimiter is ignored]
expected: FAIL
[<area>: Setting <https://example.net#nav>.pathname = 'home']
expected: FAIL
[<area>: Setting <view-source+http://example.net/path>.host = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
expected: FAIL
[<area>: Setting <http://example.net>.pathname = '%2e%2E%c3%89té' Bytes already percent-encoded are left as-is, including %2E outside dotted segments.]
expected: FAIL
[<area>: Setting <sc://x/>.host = ' ']
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com/stuff' Stuff after a / delimiter is ignored]
expected: FAIL
[<area>: Setting <http://example.net>.hash = '%c3%89té' Bytes already percent-encoded are left as-is]
expected: FAIL
[<area>: Setting <http://me@example.net>.username = '']
expected: FAIL
[URL: Setting <gopher://example.net:1234>.protocol = 'file']
expected: FAIL
[<area>: Setting <data:text/plain,Stuff>.hostname = 'example.net' Cannot-be-a-base means no host]
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '\x00' Non-special scheme]
expected: FAIL
[<a>: Setting <gopher://example.net:1234>.protocol = 'file']
expected: FAIL
[<area>: Setting <https://example.net#nav>.search = 'lang=fr']
expected: FAIL
[<area>: Setting <file://y/>.host = 'x:123']
expected: FAIL
[<area>: Setting <https://example.net?lang=en-US#nav>.search = '?']
expected: FAIL
[<area>: Setting <http://example.net>.hostname = '[::0:01\]' IPv6 address syntax is normalized]
expected: FAIL
[<area>: Setting <http://example.net>.search = '%c3%89té' Bytes already percent-encoded are left as-is]
expected: FAIL
[<area>: Setting <ssh://example.net>.protocol = 'file']
expected: FAIL
[<area>: Setting <http://example.net:8080>.hostname = 'example.com']
expected: FAIL
[<a>: Setting <javascript:alert(1)>.hash = 'castle']
expected: FAIL
[<area>: Setting <file:>.protocol = 'wss']
expected: FAIL
[<area>: Setting <view-source+http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <http://example.net:8080>.host = 'example.com' Port number is unchanged if not specified in the new value]
expected: FAIL
[<area>: Setting <http://example.net>.protocol = 'https:foo : bar' Stuff after the first ':' is ignored]
expected: FAIL
[<area>: Setting <https://example.net:4433>.port = '443' Default port number is removed]
expected: FAIL
[<area>: Setting <http://example.net/>.hostname = '[::1.2.\]']
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'B' Upper-case ASCII is lower-cased]
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
[<area>: Setting <http://example.net:8080>.host = 'example.com:' Port number is unchanged if not specified]
expected: FAIL
[<area>: Setting <ssh://me@example.net>.protocol = 'http' Cant switch from non-special scheme to special]
expected: FAIL
[<area>: Setting <data:text/html,<p>Test>.protocol = 'view-source+data:foo : bar' Stuff after the first ':' is ignored]
expected: FAIL
[<area>: Setting <http://example.net>.hash = '#foo>bar']
expected: FAIL
[<area>: Setting <non-base:value>.port = '12']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = ' ']
expected: FAIL
[<area>: Setting <http://example.net/path>.port = '8080?stuff' Stuff after a ? delimiter is ignored]
expected: FAIL
[<area>: Setting <sc://test:12/>.hostname = '']
expected: FAIL
[<area>: Setting <http://example.net/path>.hostname = 'example.com\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
expected: FAIL
[<area>: Setting <javascript://x/>.password = 'bowser']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '\t']
expected: FAIL
[<area>: Setting <javascript:alert(1)>.protocol = 'defuse']
expected: FAIL
[<area>: Setting <http://me:secret@example.net>.username = '']
expected: FAIL
[<area>: Setting <http://example.net/>.hostname = '[::1.2.3.\]']
expected: FAIL
[<area>: Setting <https://example.net>.host = 'example.com:80' Default port number is only removed for the relevant scheme]
expected: FAIL
[<area>: Setting <http://example.net/>.host = '[::1.2.3.\]']
expected: FAIL
[<area>: Setting <unix:/run/foo.socket>.username = 'me' No host means no username]
expected: FAIL
[<area>: Setting <http://example.net/>.host = '[::1.2.3.4x\]']
expected: FAIL
[URL: Setting <http://example.net>.hash = 'a\x00b' Percent-encode NULLs in fragment]
expected: FAIL
[<area>: Setting <http://example.net:8080/path>.hostname = 'example.com:' Stuff after a : delimiter is ignored]
expected: FAIL
[URL: Setting <non-spec:/>.hash = 'a\x00b' Percent-encode NULLs in fragment]
expected: FAIL
[<area>: Setting <sc://x/>.host = '\n']
expected: FAIL
[<area>: Setting <sc://x/>.hostname = '?']
expected: FAIL
[<area>: Setting <http://example.net/path>.host = 'example.com:65535' Port numbers are 16 bit integers]
expected: FAIL
[<area>: Setting <https://example.net:1234>.protocol = 'file']
expected: FAIL
[<area>: Setting <file:///test>.protocol = 'https']
expected: FAIL

View file

@ -0,0 +1,44 @@
[url-statics-canparse.any.html]
[URL.canParse(undefined, undefined)]
expected: FAIL
[URL.canParse(a:b, undefined)]
expected: FAIL
[URL.canParse(undefined, a:b)]
expected: FAIL
[URL.canParse(a:/b, undefined)]
expected: FAIL
[URL.canParse(undefined, a:/b)]
expected: FAIL
[URL.canParse(https://test:test, undefined)]
expected: FAIL
[URL.canParse(a, https://b/)]
expected: FAIL
[url-statics-canparse.any.worker.html]
[URL.canParse(undefined, undefined)]
expected: FAIL
[URL.canParse(a:b, undefined)]
expected: FAIL
[URL.canParse(undefined, a:b)]
expected: FAIL
[URL.canParse(a:/b, undefined)]
expected: FAIL
[URL.canParse(undefined, a:/b)]
expected: FAIL
[URL.canParse(https://test:test, undefined)]
expected: FAIL
[URL.canParse(a, https://b/)]
expected: FAIL

View file

@ -0,0 +1,8 @@
[urlsearchparams-delete.any.worker.html]
[Changing the query of a URL with an opaque path can impact the path]
expected: FAIL
[urlsearchparams-delete.any.html]
[Changing the query of a URL with an opaque path can impact the path]
expected: FAIL