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:
authorDaijiro Wachi <daijiro.wachi@gmail.com>2020-10-16 07:52:16 +0300
committerDaijiro Wachi <daijiro.wachi@gmail.com>2020-10-19 09:52:45 +0300
commit7afe3af2004cc6edf8897bfcd7c568aa43d4f4e6 (patch)
tree52a7ad0bc34baf9c624f2651eeb454b25c0c21f1 /test
parentc55f661551d7368778ae6f9adc584467151bce8a (diff)
url: fix file url reparse
Fixes: https://github.com/nodejs/node/issues/35571 Refs: https://github.com/whatwg/url/pull/550 Refs: https://github.com/web-platform-tests/wpt/pull/25989 PR-URL: https://github.com/nodejs/node/pull/35671 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/wpt/README.md2
-rw-r--r--test/fixtures/wpt/url/resources/urltestdata.json31
-rw-r--r--test/fixtures/wpt/versions.json2
3 files changed, 32 insertions, 3 deletions
diff --git a/test/fixtures/wpt/README.md b/test/fixtures/wpt/README.md
index 5428e4c183a..1ae38fa52d8 100644
--- a/test/fixtures/wpt/README.md
+++ b/test/fixtures/wpt/README.md
@@ -12,7 +12,7 @@ Last update:
- console: https://github.com/web-platform-tests/wpt/tree/3b1f72e99a/console
- encoding: https://github.com/web-platform-tests/wpt/tree/d7f9e16c9a/encoding
-- url: https://github.com/web-platform-tests/wpt/tree/4e15edcc3c/url
+- url: https://github.com/web-platform-tests/wpt/tree/33e4ac0902/url
- resources: https://github.com/web-platform-tests/wpt/tree/1d14e821b9/resources
- interfaces: https://github.com/web-platform-tests/wpt/tree/15e47f779c/interfaces
- html/webappapis/microtask-queuing: https://github.com/web-platform-tests/wpt/tree/2c5c3c4c27/html/webappapis/microtask-queuing
diff --git a/test/fixtures/wpt/url/resources/urltestdata.json b/test/fixtures/wpt/url/resources/urltestdata.json
index c7a906c82e5..f55a40338a3 100644
--- a/test/fixtures/wpt/url/resources/urltestdata.json
+++ b/test/fixtures/wpt/url/resources/urltestdata.json
@@ -6091,7 +6091,7 @@
"base": "about:blank",
"failure": true
},
- "# Additional file URL tetsts for (https://github.com/whatwg/url/issues/405)",
+ "# Additional file URL tests for (https://github.com/whatwg/url/issues/405)",
{
"input": "file://localhost//a//../..//foo",
"base": "about:blank",
@@ -6218,6 +6218,35 @@
"search": "",
"hash": ""
},
+ "File URL tests for https://github.com/whatwg/url/issues/549",
+ {
+ "input": "file:.//p",
+ "base": "about:blank",
+ "href": "file:////p",
+ "protocol": "file:",
+ "username": "",
+ "password": "",
+ "host": "",
+ "hostname": "",
+ "port": "",
+ "pathname": "//p",
+ "search": "",
+ "hash": ""
+ },
+ {
+ "input": "file:/.//p",
+ "base": "about:blank",
+ "href": "file:////p",
+ "protocol": "file:",
+ "username": "",
+ "password": "",
+ "host": "",
+ "hostname": "",
+ "port": "",
+ "pathname": "//p",
+ "search": "",
+ "hash": ""
+ },
"# IPv6 tests",
{
"input": "http://[1:0::]",
diff --git a/test/fixtures/wpt/versions.json b/test/fixtures/wpt/versions.json
index 014d1f00078..74d7d39a103 100644
--- a/test/fixtures/wpt/versions.json
+++ b/test/fixtures/wpt/versions.json
@@ -8,7 +8,7 @@
"path": "encoding"
},
"url": {
- "commit": "4e15edcc3ca51c72c3846133c7b175ecd94b3a9b",
+ "commit": "33e4ac09029c463ea6ee57d6f33477a9043e98e8",
"path": "url"
},
"resources": {