Skip to content

Commit 81a2aed

Browse files
authored
URL: more parse-ipv4-number coverage
1 parent 03884af commit 81a2aed

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

url/resources/urltestdata.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6065,6 +6065,36 @@
60656065
"search": "",
60666066
"hash": ""
60676067
},
6068+
{
6069+
"input": "https://0x.0x.0x.0x",
6070+
"base": null,
6071+
"href": "https://0.0.0.0/",
6072+
"origin": "https://0.0.0.0",
6073+
"protocol": "https:",
6074+
"username": "",
6075+
"password": "",
6076+
"host": "0.0.0.0",
6077+
"hostname": "0.0.0.0",
6078+
"port": "",
6079+
"pathname": "/",
6080+
"search": "",
6081+
"hash": ""
6082+
},
6083+
{
6084+
"input": "https://00.00.00.00",
6085+
"base": null,
6086+
"href": "https://0.0.0.0/",
6087+
"origin": "https://0.0.0.0",
6088+
"protocol": "https:",
6089+
"username": "",
6090+
"password": "",
6091+
"host": "0.0.0.0",
6092+
"hostname": "0.0.0.0",
6093+
"port": "",
6094+
"pathname": "/",
6095+
"search": "",
6096+
"hash": ""
6097+
},
60686098
"More IPv4 parsing (via https://github.com/jsdom/whatwg-url/issues/92)",
60696099
{
60706100
"input": "https://0x100000000/test",

0 commit comments

Comments
 (0)