Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2022-05-05 14:41:35 +0300
committerGitHub <noreply@github.com>2022-05-05 14:41:35 +0300
commita3ff4bfc667c864f3729b198e6ad1b0bfaa05683 (patch)
tree97c3c96e0b8363a970a4a9d9d1646098d34d5813 /test
parentf7d658a888246f90bdd47f63b81098c0ec74bb0e (diff)
url: revert "validate ipv4 part length"
This reverts commit 87d0d7a069b2a3ca1db1dd592a62db4645ba5d69. Refs: https://github.com/nodejs/node/pull/42915 PR-URL: https://github.com/nodejs/node/pull/42940 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/wpt/url/resources/urltestdata.json17
1 files changed, 11 insertions, 6 deletions
diff --git a/test/fixtures/wpt/url/resources/urltestdata.json b/test/fixtures/wpt/url/resources/urltestdata.json
index dc33048964a..a56b30caf98 100644
--- a/test/fixtures/wpt/url/resources/urltestdata.json
+++ b/test/fixtures/wpt/url/resources/urltestdata.json
@@ -5317,12 +5317,17 @@
{
"input": "http://256.256.256.256.256",
"base": "http://other.com/",
- "failure": true
- },
- {
- "input": "http://256.256.256.256.256.",
- "base": "http://other.com/",
- "failure": true
+ "href": "http://256.256.256.256.256/",
+ "origin": "http://256.256.256.256.256",
+ "protocol": "http:",
+ "username": "",
+ "password": "",
+ "host": "256.256.256.256.256",
+ "hostname": "256.256.256.256.256",
+ "port": "",
+ "pathname": "/",
+ "search": "",
+ "hash": ""
},
{
"input": "https://0x.0x.0",