From fb6a447ae796f38e5b14f0c59b368584a757d256 Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Fri, 16 Dec 2022 20:47:53 -0500 Subject: [PATCH] test: update url wpt to latest PR-URL: https://github.com/nodejs/node/pull/45852 Reviewed-By: Kohei Ueno Reviewed-By: James M Snell --- test/fixtures/wpt/README.md | 2 +- test/fixtures/wpt/url/resources/percent-encoding.json | 8 ++++++++ test/fixtures/wpt/versions.json | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/test/fixtures/wpt/README.md b/test/fixtures/wpt/README.md index dabff0ac1ef183..6a3c5a845ec32d 100644 --- a/test/fixtures/wpt/README.md +++ b/test/fixtures/wpt/README.md @@ -28,7 +28,7 @@ Last update: - resource-timing: https://github.com/web-platform-tests/wpt/tree/22d38586d0/resource-timing - resources: https://github.com/web-platform-tests/wpt/tree/fbf1e7d247/resources - streams: https://github.com/web-platform-tests/wpt/tree/9e5ef42bd3/streams -- url: https://github.com/web-platform-tests/wpt/tree/0e5b126cd0/url +- url: https://github.com/web-platform-tests/wpt/tree/0a187bc169/url - user-timing: https://github.com/web-platform-tests/wpt/tree/df24fb604e/user-timing - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/d8dbe6990b/wasm/jsapi - wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi diff --git a/test/fixtures/wpt/url/resources/percent-encoding.json b/test/fixtures/wpt/url/resources/percent-encoding.json index eccd1db62fe601..bd81edbdc35ee3 100644 --- a/test/fixtures/wpt/url/resources/percent-encoding.json +++ b/test/fixtures/wpt/url/resources/percent-encoding.json @@ -44,5 +44,13 @@ "output": { "utf-8": "%C3%A1|" } + }, + "Surrogate!", + { + "input": "\ud800", + "output": { + "utf-8": "%EF%BF%BD", + "windows-1252": "%26%2365533%3B" + } } ] diff --git a/test/fixtures/wpt/versions.json b/test/fixtures/wpt/versions.json index d9ebde446b3572..cdbaee5e4aadae 100644 --- a/test/fixtures/wpt/versions.json +++ b/test/fixtures/wpt/versions.json @@ -72,7 +72,7 @@ "path": "streams" }, "url": { - "commit": "0e5b126cd0a8da9186b738b8c9278d19b594c51f", + "commit": "0a187bc16933e67dfb8755935143a6dd5a9e12f2", "path": "url" }, "user-timing": {