diff --git a/tests/wpt/urltestdata.json b/tests/wpt/urltestdata.json index d1a06f631..fd2201cfe 100644 --- a/tests/wpt/urltestdata.json +++ b/tests/wpt/urltestdata.json @@ -6065,6 +6065,36 @@ "search": "", "hash": "" }, + { + "input": "https://0x.0x.0x.0x", + "base": null, + "href": "https://0.0.0.0/", + "origin": "https://0.0.0.0", + "protocol": "https:", + "username": "", + "password": "", + "host": "0.0.0.0", + "hostname": "0.0.0.0", + "port": "", + "pathname": "/", + "search": "", + "hash": "" + }, + { + "input": "https://00.00.00.00", + "base": null, + "href": "https://0.0.0.0/", + "origin": "https://0.0.0.0", + "protocol": "https:", + "username": "", + "password": "", + "host": "0.0.0.0", + "hostname": "0.0.0.0", + "port": "", + "pathname": "/", + "search": "", + "hash": "" + }, "More IPv4 parsing (via https://github.com/jsdom/whatwg-url/issues/92)", { "input": "https://0x100000000/test", @@ -6805,6 +6835,34 @@ "search": "", "hash": "" }, + { + "input": "..", + "base": "abc://x/y/z/C:/", + "href": "abc://x/y/z/", + "protocol": "abc:", + "username": "", + "password": "", + "hostname": "x", + "port": "", + "host": "x", + "pathname": "/y/z/", + "search": "", + "hash": "" + }, + { + "input": "..", + "base": "file://x/C:/", + "href": "file://x/C:/", + "protocol": "file:", + "username": "", + "password": "", + "hostname": "x", + "port": "", + "host": "x", + "pathname": "/C:/", + "search": "", + "hash": "" + }, "# Do not drop the host in the presence of a drive letter", { "input": "file://example.net/C:/",