diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2022-05-05 14:41:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 14:41:35 +0300 |
commit | a3ff4bfc667c864f3729b198e6ad1b0bfaa05683 (patch) | |
tree | 97c3c96e0b8363a970a4a9d9d1646098d34d5813 /test | |
parent | f7d658a888246f90bdd47f63b81098c0ec74bb0e (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.json | 17 |
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", |