Skip to content

Commit 12e6a51

Browse files
test: update WPT for urlpattern to f07d05f49c
1 parent 58a16b2 commit 12e6a51

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

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/1e140d63ec/resources
3030
- streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams
3131
- url: https://github.com/web-platform-tests/wpt/tree/d86fcc9e87/url
32-
- urlpattern: https://github.com/web-platform-tests/wpt/tree/a8c62524f6/urlpattern
32+
- urlpattern: https://github.com/web-platform-tests/wpt/tree/f07d05f49c/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/cde25e7e3c/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: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,6 +1230,34 @@
12301230
"port": { "input": "80", "groups": {}}
12311231
}
12321232
},
1233+
{
1234+
"pattern": [{ "port": "80" }],
1235+
"inputs": [{ "port": "8\t0" }],
1236+
"expected_match": {
1237+
"port": { "input": "80", "groups": {}}
1238+
}
1239+
},
1240+
{
1241+
"pattern": [{ "port": "80" }],
1242+
"inputs": [{ "port": "80x" }],
1243+
"expected_match": {
1244+
"port": { "input": "80", "groups": {}}
1245+
}
1246+
},
1247+
{
1248+
"pattern": [{ "port": "80" }],
1249+
"inputs": [{ "port": "80?x" }],
1250+
"expected_match": {
1251+
"port": { "input": "80", "groups": {}}
1252+
}
1253+
},
1254+
{
1255+
"pattern": [{ "port": "80" }],
1256+
"inputs": [{ "port": "80\\x" }],
1257+
"expected_match": {
1258+
"port": { "input": "80", "groups": {}}
1259+
}
1260+
},
12331261
{
12341262
"pattern": [{ "port": "(.*)" }],
12351263
"inputs": [{ "port": "invalid80" }],

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": "a8c62524f649ca5fa69e0f7411f16955edadb851",
79+
"commit": "f07d05f49c679a62dd112e18aa07405859745952",
8080
"path": "urlpattern"
8181
},
8282
"user-timing": {

0 commit comments

Comments
 (0)