From d3a59adc627285c18994029ae2f89c5b6da6ea27 Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Sun, 22 Feb 2026 00:26:48 +0000 Subject: [PATCH 1/5] test: update WPT for urlpattern to a6335709a9 --- test/fixtures/wpt/README.md | 2 +- .../wpt/urlpattern/resources/urlpatterntestdata.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 2ce7de20ded95f..3ada9280a5a49e 100644 --- a/test/fixtures/wpt/README.md +++ b/test/fixtures/wpt/README.md @@ -29,7 +29,7 @@ Last update: - resources: https://github.com/web-platform-tests/wpt/tree/1d2c5fb36a/resources - streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams - url: https://github.com/web-platform-tests/wpt/tree/efb889eb4c/url -- urlpattern: https://github.com/web-platform-tests/wpt/tree/a2e15ad405/urlpattern +- urlpattern: https://github.com/web-platform-tests/wpt/tree/a6335709a9/urlpattern - user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi - wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi diff --git a/test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json b/test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json index 783fc3bdcf66a5..ee1003899e068f 100644 --- a/test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json +++ b/test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json @@ -3118,5 +3118,13 @@ "expected_match": { "hostname": { "input": "localhost", "groups": { "domain" : "localhost"} } } + }, + { + "pattern": ["((?R)):"], + "expected_obj": "error" + }, + { + "pattern": ["(\\H):"], + "expected_obj": "error" } ] diff --git a/test/fixtures/wpt/versions.json b/test/fixtures/wpt/versions.json index 50173e71b1b9d7..a92a680cc272f2 100644 --- a/test/fixtures/wpt/versions.json +++ b/test/fixtures/wpt/versions.json @@ -76,7 +76,7 @@ "path": "url" }, "urlpattern": { - "commit": "a2e15ad40518c30c4e7f649584dbda699a40d531", + "commit": "a6335709a9c0e50c565b7dabc066a69c0e97cbd6", "path": "urlpattern" }, "user-timing": { From d3868681a66eb601169217ff400bf0016fb3e215 Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Sun, 15 Mar 2026 00:30:09 +0000 Subject: [PATCH 2/5] test: update WPT for urlpattern to a6335709a9 --- test/fixtures/wpt/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/wpt/README.md b/test/fixtures/wpt/README.md index 3ada9280a5a49e..54f38ec0950fdd 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/1d2c5fb36a/resources - streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams -- url: https://github.com/web-platform-tests/wpt/tree/efb889eb4c/url +- url: https://github.com/web-platform-tests/wpt/tree/c928b19ab0/url - urlpattern: https://github.com/web-platform-tests/wpt/tree/a6335709a9/urlpattern - user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi From 086567dc7e871cbd88eb6b88e05ed1bedb7b4b40 Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Sun, 22 Mar 2026 00:28:21 +0000 Subject: [PATCH 3/5] test: update WPT for urlpattern to 763c8548ad --- test/fixtures/wpt/README.md | 2 +- .../resources/urlpatterntestdata.json | 28 +++++++++++++++++++ test/fixtures/wpt/versions.json | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/test/fixtures/wpt/README.md b/test/fixtures/wpt/README.md index 54f38ec0950fdd..776a26fed06ff9 100644 --- a/test/fixtures/wpt/README.md +++ b/test/fixtures/wpt/README.md @@ -29,7 +29,7 @@ Last update: - resources: https://github.com/web-platform-tests/wpt/tree/1d2c5fb36a/resources - streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams - url: https://github.com/web-platform-tests/wpt/tree/c928b19ab0/url -- urlpattern: https://github.com/web-platform-tests/wpt/tree/a6335709a9/urlpattern +- urlpattern: https://github.com/web-platform-tests/wpt/tree/763c8548ad/urlpattern - user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi - wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi diff --git a/test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json b/test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json index ee1003899e068f..2ae0a49631e759 100644 --- a/test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json +++ b/test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json @@ -3126,5 +3126,33 @@ { "pattern": ["(\\H):"], "expected_obj": "error" + }, + { + "pattern": [ + {"pathname": "/:foo((?a))"} + ], + "inputs": [ + {"pathname": "/a"} + ], + "expected_match": { + "pathname": { + "input": "/a", + "groups": {"foo": "a"} + } + } + }, + { + "pattern": [ + {"pathname": "/foo/(bar(?baz))"} + ], + "inputs": [ + {"pathname": "/foo/barbaz"} + ], + "expected_match": { + "pathname": { + "input": "/foo/barbaz", + "groups": {"0": "barbaz"} + } + } } ] diff --git a/test/fixtures/wpt/versions.json b/test/fixtures/wpt/versions.json index a92a680cc272f2..2f16668938f637 100644 --- a/test/fixtures/wpt/versions.json +++ b/test/fixtures/wpt/versions.json @@ -76,7 +76,7 @@ "path": "url" }, "urlpattern": { - "commit": "a6335709a9c0e50c565b7dabc066a69c0e97cbd6", + "commit": "763c8548adb13904e51cf34b343a47dc309bde79", "path": "urlpattern" }, "user-timing": { From 0c36bee3a88c6e77ab7aa496a73b97629bf1097b Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Sun, 5 Apr 2026 00:32:03 +0000 Subject: [PATCH 4/5] test: update WPT for urlpattern to f07c03cbed --- test/fixtures/wpt/README.md | 4 ++-- ...ttern-constructor.html => urlpattern-constructor.any.js} | 6 +----- test/fixtures/wpt/versions.json | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) rename test/fixtures/wpt/urlpattern/{urlpattern-constructor.html => urlpattern-constructor.any.js} (73%) diff --git a/test/fixtures/wpt/README.md b/test/fixtures/wpt/README.md index 776a26fed06ff9..64b0affe84d719 100644 --- a/test/fixtures/wpt/README.md +++ b/test/fixtures/wpt/README.md @@ -28,8 +28,8 @@ Last update: - resource-timing: https://github.com/web-platform-tests/wpt/tree/22d38586d0/resource-timing - resources: https://github.com/web-platform-tests/wpt/tree/1d2c5fb36a/resources - streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams -- url: https://github.com/web-platform-tests/wpt/tree/c928b19ab0/url -- urlpattern: https://github.com/web-platform-tests/wpt/tree/763c8548ad/urlpattern +- url: https://github.com/web-platform-tests/wpt/tree/fc3e651593/url +- urlpattern: https://github.com/web-platform-tests/wpt/tree/f07c03cbed/urlpattern - user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi - wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi diff --git a/test/fixtures/wpt/urlpattern/urlpattern-constructor.html b/test/fixtures/wpt/urlpattern/urlpattern-constructor.any.js similarity index 73% rename from test/fixtures/wpt/urlpattern/urlpattern-constructor.html rename to test/fixtures/wpt/urlpattern/urlpattern-constructor.any.js index 2d83b7dc0325b4..9290911d4b1c77 100644 --- a/test/fixtures/wpt/urlpattern/urlpattern-constructor.html +++ b/test/fixtures/wpt/urlpattern/urlpattern-constructor.any.js @@ -1,7 +1,4 @@ - - - - diff --git a/test/fixtures/wpt/versions.json b/test/fixtures/wpt/versions.json index 2f16668938f637..1b6d98086c3121 100644 --- a/test/fixtures/wpt/versions.json +++ b/test/fixtures/wpt/versions.json @@ -76,7 +76,7 @@ "path": "url" }, "urlpattern": { - "commit": "763c8548adb13904e51cf34b343a47dc309bde79", + "commit": "f07c03cbede41ba677c3d26fd17ff3e02ba26783", "path": "urlpattern" }, "user-timing": { From 62db4a8c898247c86168593be19b5f8055d93d65 Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Sun, 12 Apr 2026 00:33:50 +0000 Subject: [PATCH 5/5] test: update WPT for urlpattern to f07c03cbed --- test/fixtures/wpt/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/wpt/README.md b/test/fixtures/wpt/README.md index 64b0affe84d719..e54515555c9d0e 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/1d2c5fb36a/resources - streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams -- url: https://github.com/web-platform-tests/wpt/tree/fc3e651593/url +- url: https://github.com/web-platform-tests/wpt/tree/7a3645b79a/url - urlpattern: https://github.com/web-platform-tests/wpt/tree/f07c03cbed/urlpattern - user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi