test: update WPT for urlpattern to a2e15ad405

PR-URL: https://github.com/nodejs/node/pull/61134
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Node.js GitHub Bot
2025-12-23 00:41:49 +00:00
committed by GitHub
parent 9120924de1
commit 76c4bee978
3 changed files with 12 additions and 2 deletions

View File

@@ -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/9504a83e01/url
- urlpattern: https://github.com/web-platform-tests/wpt/tree/aed1f3d244/urlpattern
- urlpattern: https://github.com/web-platform-tests/wpt/tree/a2e15ad405/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

View File

@@ -3108,5 +3108,15 @@
"hostname": { "input": "www.example.com", "groups": {} },
"pathname": { "input": "/path/with/x", "groups": { "0": "path/with/x" } }
}
},
{
"pattern": [{ "hostname": ":domain(.*)" }],
"inputs": [{ "hostname": "localhost" }],
"expected_obj": {
"hostname": ":domain(.*)"
},
"expected_match": {
"hostname": { "input": "localhost", "groups": { "domain" : "localhost"} }
}
}
]

View File

@@ -76,7 +76,7 @@
"path": "url"
},
"urlpattern": {
"commit": "aed1f3d244c589317f0b6bcb84867f11bfd9353c",
"commit": "a2e15ad40518c30c4e7f649584dbda699a40d531",
"path": "urlpattern"
},
"user-timing": {