File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Last update:
29
29
- resources: https://github.com/web-platform-tests/wpt/tree/1e140d63ec/resources
30
30
- streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams
31
31
- url: https://github.com/web-platform-tests/wpt/tree/9504a83e01/url
32
- - urlpattern: https://github.com/web-platform-tests/wpt/tree/3ffda23e5a /urlpattern
32
+ - urlpattern: https://github.com/web-platform-tests/wpt/tree/84b75f0880 /urlpattern
33
33
- user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing
34
34
- wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi
35
35
- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi
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 >
5
+ test ( ( ) => {
6
+ assert_throws_js ( TypeError , ( ) => { new URLPattern ( new URL ( 'https://example.org/%(' ) ) ; } ) ;
7
+ assert_throws_js ( TypeError , ( ) => { new URLPattern ( new URL ( 'https://example.org/%((' ) ) ; } ) ;
8
+ assert_throws_js ( TypeError , ( ) => { new URLPattern ( '(\\' ) ; } ) ;
9
+ } , `Test unclosed token` ) ;
10
+
11
+ test ( ( ) => {
12
+ new URLPattern ( undefined , undefined ) ;
13
+ } , `Test constructor with undefined` ) ;
14
+ </ script >
Original file line number Diff line number Diff line change 76
76
"path" : " url"
77
77
},
78
78
"urlpattern" : {
79
- "commit" : " 3ffda23e5af7c59590b17c2710a22efd22dd4973 " ,
79
+ "commit" : " 84b75f08801c8cfe407c25614c49132075b8afab " ,
80
80
"path" : " urlpattern"
81
81
},
82
82
"user-timing" : {
You can’t perform that action at this time.
0 commit comments