diff --git a/test/fixtures/wpt/README.md b/test/fixtures/wpt/README.md index 94d0cf01d87083..24643c23537636 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/6a2f322376/resources - streams: https://github.com/web-platform-tests/wpt/tree/f8f26a372f/streams - url: https://github.com/web-platform-tests/wpt/tree/e4a4672e9e/url -- urlpattern: https://github.com/web-platform-tests/wpt/tree/2f28df545c/urlpattern +- urlpattern: https://github.com/web-platform-tests/wpt/tree/23aac92784/urlpattern - user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/288c467d35/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 93e8b673b753d8..272b51ef692183 100644 --- a/test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json +++ b/test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json @@ -1266,6 +1266,22 @@ }, "expected_match": null }, + { + "pattern": [{ "protocol": "https", "port": "443*" }], + "inputs": [{ "protocol": "https", "port": "4430" }], + "expected_match": { + "protocol": { "input": "https", "groups": {} }, + "port": { "input": "4430", "groups": { "0": "0" }} + } + }, + { + "pattern": [{ "protocol": "https", "port": "*443" }], + "inputs": [{ "protocol": "https", "port": "1443" }], + "expected_match": { + "protocol": { "input": "https", "groups": {} }, + "port": { "input": "1443", "groups": { "0": "1" }} + } + }, { "pattern": [{ "pathname": "/foo/bar" }], "inputs": [{ "pathname": "/foo/./bar" }], diff --git a/test/fixtures/wpt/versions.json b/test/fixtures/wpt/versions.json index 4921aa48d0fd82..06a9e3fa43902e 100644 --- a/test/fixtures/wpt/versions.json +++ b/test/fixtures/wpt/versions.json @@ -76,7 +76,7 @@ "path": "url" }, "urlpattern": { - "commit": "2f28df545cb4f16c99249b3db05c75495afeaaee", + "commit": "23aac9278460a73394585ff5a15b6a04dfcd5ec8", "path": "urlpattern" }, "user-timing": {