Skip to content

Commit 0e182a3

Browse files
test: update WPT for urlpattern to 2f28df545c
PR-URL: #63771 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 696030d commit 0e182a3

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

β€Žtest/fixtures/wpt/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Last update:
2929
- resources: https://github.com/web-platform-tests/wpt/tree/6a2f322376/resources
3030
- streams: https://github.com/web-platform-tests/wpt/tree/f8f26a372f/streams
3131
- url: https://github.com/web-platform-tests/wpt/tree/e4a4672e9e/url
32-
- urlpattern: https://github.com/web-platform-tests/wpt/tree/f07c03cbed/urlpattern
32+
- urlpattern: https://github.com/web-platform-tests/wpt/tree/2f28df545c/urlpattern
3333
- user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing
3434
- wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/288c467d35/wasm/jsapi
3535
- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi

β€Žtest/fixtures/wpt/urlpattern/resources/urlpatterntestdata.jsonβ€Ž

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3154,5 +3154,12 @@
31543154
"groups": {"0": "barbaz"}
31553155
}
31563156
}
3157+
},
3158+
{
3159+
"pattern": [{ "pathname": "/:π €€" }],
3160+
"inputs": [{ "pathname": "/foo" }],
3161+
"expected_match": {
3162+
"pathname": { "input": "/foo", "groups": { "π €€": "foo" } }
3163+
}
31573164
}
31583165
]

β€Žtest/fixtures/wpt/versions.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"path": "url"
7777
},
7878
"urlpattern": {
79-
"commit": "f07c03cbede41ba677c3d26fd17ff3e02ba26783",
79+
"commit": "2f28df545cb4f16c99249b3db05c75495afeaaee",
8080
"path": "urlpattern"
8181
},
8282
"user-timing": {

0 commit comments

Comments
Β (0)