File tree Expand file tree Collapse file tree 4 files changed +39
-7
lines changed
Expand file tree Collapse file tree 4 files changed +39
-7
lines changed Original file line number Diff line number Diff 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/bc9dcbbf1a/streams
3131- url: https://github.com/web-platform-tests/wpt/tree/7a3645b79a/url
32- - urlpattern: https://github.com/web-platform-tests/wpt/tree/a2e15ad405 /urlpattern
32+ - urlpattern: https://github.com/web-platform-tests/wpt/tree/f07c03cbed /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/65a2134d50/wasm/jsapi
3535- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi
Original file line number Diff line number Diff line change 31183118 "expected_match" : {
31193119 "hostname" : { "input" : " localhost" , "groups" : { "domain" : " localhost" } }
31203120 }
3121+ },
3122+ {
3123+ "pattern" : [" ((?R)):" ],
3124+ "expected_obj" : " error"
3125+ },
3126+ {
3127+ "pattern" : [" (\\ H):" ],
3128+ "expected_obj" : " error"
3129+ },
3130+ {
3131+ "pattern" : [
3132+ {"pathname" : " /:foo((?<x>a))" }
3133+ ],
3134+ "inputs" : [
3135+ {"pathname" : " /a" }
3136+ ],
3137+ "expected_match" : {
3138+ "pathname" : {
3139+ "input" : " /a" ,
3140+ "groups" : {"foo" : " a" }
3141+ }
3142+ }
3143+ },
3144+ {
3145+ "pattern" : [
3146+ {"pathname" : " /foo/(bar(?<x>baz))" }
3147+ ],
3148+ "inputs" : [
3149+ {"pathname" : " /foo/barbaz" }
3150+ ],
3151+ "expected_match" : {
3152+ "pathname" : {
3153+ "input" : " /foo/barbaz" ,
3154+ "groups" : {"0" : " barbaz" }
3155+ }
3156+ }
31213157 }
31223158]
Original file line number Diff line number Diff line change 1- <!DOCTYPE html>
2- < script src ="/resources/testharness.js "> </ script >
3- < script src ="/resources/testharnessreport.js "> </ script >
4- < script >
1+ // META: global=window,worker
52test ( ( ) => {
63 assert_throws_js ( TypeError , ( ) => { new URLPattern ( new URL ( 'https://example.org/%(' ) ) ; } ) ;
74 assert_throws_js ( TypeError , ( ) => { new URLPattern ( new URL ( 'https://example.org/%((' ) ) ; } ) ;
118test ( ( ) => {
129 new URLPattern ( undefined , undefined ) ;
1310} , `Test constructor with undefined` ) ;
14- </ script >
Original file line number Diff line number Diff line change 7676 "path" : " url"
7777 },
7878 "urlpattern" : {
79- "commit" : " a2e15ad40518c30c4e7f649584dbda699a40d531 " ,
79+ "commit" : " f07c03cbede41ba677c3d26fd17ff3e02ba26783 " ,
8080 "path" : " urlpattern"
8181 },
8282 "user-timing" : {
You can’t perform that action at this time.
0 commit comments