mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
test: update WPT for url to b63305b743
PR-URL: https://github.com/nodejs/node/pull/64790 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
This commit is contained in:
1 parent
7b1898a341
commit
7264efb21b
5 files changed
+862
-783
No files matched your search
+761
-761
File diff suppressed because it is too large.
Load diff
+6
-6
@@ -1137,9 +1137,9 @@
|
||||
"href": "https://example.com/",
|
||||
"new_value": "xn--",
|
||||
"expected": {
|
||||
"href": "https://example.com/",
|
||||
"host": "example.com",
|
||||
"hostname": "example.com"
|
||||
"href": "https://xn--/",
|
||||
"host": "xn--",
|
||||
"hostname": "xn--"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1611,9 +1611,9 @@
|
||||
"href": "https://example.com/",
|
||||
"new_value": "xn--",
|
||||
"expected": {
|
||||
"href": "https://example.com/",
|
||||
"host": "example.com",
|
||||
"hostname": "example.com"
|
||||
"href": "https://xn--/",
|
||||
"host": "xn--",
|
||||
"hostname": "xn--"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
+7
-7
@@ -55,11 +55,11 @@
|
||||
{
|
||||
"comment": "Invalid Punycode",
|
||||
"input": "xn--a",
|
||||
"output": null
|
||||
"output": "xn--a"
|
||||
},
|
||||
{
|
||||
"input": "xn--a.xn--zca",
|
||||
"output": null
|
||||
"output": "xn--a.xn--zca"
|
||||
},
|
||||
{
|
||||
"input": "xn--a.ß",
|
||||
@@ -67,7 +67,7 @@
|
||||
},
|
||||
{
|
||||
"input": "xn--ls8h=",
|
||||
"output": null
|
||||
"output": "xn--ls8h="
|
||||
},
|
||||
{
|
||||
"comment": "Invalid Punycode (contains non-ASCII character)",
|
||||
@@ -99,7 +99,7 @@
|
||||
},
|
||||
{
|
||||
"input": "xn--1ug.example",
|
||||
"output": null
|
||||
"output": "xn--1ug.example"
|
||||
},
|
||||
{
|
||||
"comment": "CheckBidi is true",
|
||||
@@ -108,7 +108,7 @@
|
||||
},
|
||||
{
|
||||
"input": "xn--a-yoc",
|
||||
"output": null
|
||||
"output": "xn--a-yoc"
|
||||
},
|
||||
{
|
||||
"comment": "processing_option is Nontransitional_Processing",
|
||||
@@ -127,7 +127,7 @@
|
||||
{
|
||||
"comment": "U+FFFD character encoded in Punycode",
|
||||
"input": "xn--zn7c.com",
|
||||
"output": null
|
||||
"output": "xn--zn7c.com"
|
||||
},
|
||||
{
|
||||
"comment": "Label longer than 63 code points",
|
||||
@@ -369,7 +369,7 @@
|
||||
},
|
||||
{
|
||||
"input": "xn--0.com",
|
||||
"output": null
|
||||
"output": "xn--0.com"
|
||||
},
|
||||
{
|
||||
"input": "foo\u0300.bar.com",
|
||||
|
||||
+87
-8
@@ -4001,33 +4001,93 @@
|
||||
{
|
||||
"input": "http://a.b.c.xn--pokxncvks",
|
||||
"base": null,
|
||||
"failure": true
|
||||
"href": "http://a.b.c.xn--pokxncvks/",
|
||||
"origin": "http://a.b.c.xn--pokxncvks",
|
||||
"protocol": "http:",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"host": "a.b.c.xn--pokxncvks",
|
||||
"hostname": "a.b.c.xn--pokxncvks",
|
||||
"port": "",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"hash": ""
|
||||
},
|
||||
{
|
||||
"input": "http://10.0.0.xn--pokxncvks",
|
||||
"base": null,
|
||||
"failure": true
|
||||
"href": "http://10.0.0.xn--pokxncvks/",
|
||||
"origin": "http://10.0.0.xn--pokxncvks",
|
||||
"protocol": "http:",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"host": "10.0.0.xn--pokxncvks",
|
||||
"hostname": "10.0.0.xn--pokxncvks",
|
||||
"port": "",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"hash": ""
|
||||
},
|
||||
"IDNA labels should be matched case-insensitively",
|
||||
{
|
||||
"input": "http://a.b.c.XN--pokxncvks",
|
||||
"base": null,
|
||||
"failure": true
|
||||
"href": "http://a.b.c.xn--pokxncvks/",
|
||||
"origin": "http://a.b.c.xn--pokxncvks",
|
||||
"protocol": "http:",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"host": "a.b.c.xn--pokxncvks",
|
||||
"hostname": "a.b.c.xn--pokxncvks",
|
||||
"port": "",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"hash": ""
|
||||
},
|
||||
{
|
||||
"input": "http://a.b.c.Xn--pokxncvks",
|
||||
"base": null,
|
||||
"failure": true
|
||||
"href": "http://a.b.c.xn--pokxncvks/",
|
||||
"origin": "http://a.b.c.xn--pokxncvks",
|
||||
"protocol": "http:",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"host": "a.b.c.xn--pokxncvks",
|
||||
"hostname": "a.b.c.xn--pokxncvks",
|
||||
"port": "",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"hash": ""
|
||||
},
|
||||
{
|
||||
"input": "http://10.0.0.XN--pokxncvks",
|
||||
"base": null,
|
||||
"failure": true
|
||||
"href": "http://10.0.0.xn--pokxncvks/",
|
||||
"origin": "http://10.0.0.xn--pokxncvks",
|
||||
"protocol": "http:",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"host": "10.0.0.xn--pokxncvks",
|
||||
"hostname": "10.0.0.xn--pokxncvks",
|
||||
"port": "",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"hash": ""
|
||||
},
|
||||
{
|
||||
"input": "http://10.0.0.xN--pokxncvks",
|
||||
"base": null,
|
||||
"failure": true
|
||||
"href": "http://10.0.0.xn--pokxncvks/",
|
||||
"origin": "http://10.0.0.xn--pokxncvks",
|
||||
"protocol": "http:",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"host": "10.0.0.xn--pokxncvks",
|
||||
"hostname": "10.0.0.xn--pokxncvks",
|
||||
"port": "",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"hash": ""
|
||||
},
|
||||
"Test name prepping, fullwidth input should be converted to ASCII and NOT IDN-ized. This is 'Go' in fullwidth UTF-8/UTF-16.",
|
||||
{
|
||||
@@ -8752,7 +8812,16 @@
|
||||
{
|
||||
"input": "file://xn--/p",
|
||||
"base": null,
|
||||
"failure": true
|
||||
"href": "file://xn--/p",
|
||||
"protocol": "file:",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"host": "xn--",
|
||||
"hostname": "xn--",
|
||||
"port": "",
|
||||
"pathname": "/p",
|
||||
"search": "",
|
||||
"hash": ""
|
||||
},
|
||||
"https://bugzilla.mozilla.org/show_bug.cgi?id=1647058",
|
||||
{
|
||||
@@ -9498,7 +9567,17 @@
|
||||
{
|
||||
"input": "https://xn--/",
|
||||
"base": null,
|
||||
"failure": true
|
||||
"href": "https://xn--/",
|
||||
"origin": "https://xn--",
|
||||
"protocol": "https:",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"host": "xn--",
|
||||
"hostname": "xn--",
|
||||
"port": "",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"hash": ""
|
||||
},
|
||||
"Non-special schemes that some implementations might incorrectly treat as special",
|
||||
{
|
||||
|
||||
Vendored
+1
-1
@@ -72,7 +72,7 @@
|
||||
"path": "streams"
|
||||
},
|
||||
"url": {
|
||||
"commit": "d4598eba0959249d8715818a402b432c513f9492",
|
||||
"commit": "b63305b743ed9ce2725d4ae09c5c8f0c40d8e6e1",
|
||||
"path": "url"
|
||||
},
|
||||
"urlpattern": {
|
||||
|
||||
Reference in new issue
Block a user