mirror of
https://github.com/nodejs/node.git
synced 2026-11-15 10:36:53 -05:00
test: update WPT for urlpattern to 84b75f0880
PR-URL: https://github.com/nodejs/node/pull/58785 Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
8ba66c5e7b
commit
e7f6cbb83d
3 files changed
+16
-2
No files matched your search
Vendored
+1
-1
@@ -29,7 +29,7 @@ Last update:
|
||||
- resources: https://github.com/web-platform-tests/wpt/tree/1e140d63ec/resources
|
||||
- streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams
|
||||
- url: https://github.com/web-platform-tests/wpt/tree/9504a83e01/url
|
||||
- urlpattern: https://github.com/web-platform-tests/wpt/tree/3ffda23e5a/urlpattern
|
||||
- urlpattern: https://github.com/web-platform-tests/wpt/tree/84b75f0880/urlpattern
|
||||
- user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing
|
||||
- wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi
|
||||
- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
assert_throws_js(TypeError, () => { new URLPattern(new URL('https://example.org/%(')); } );
|
||||
assert_throws_js(TypeError, () => { new URLPattern(new URL('https://example.org/%((')); } );
|
||||
assert_throws_js(TypeError, () => { new URLPattern('(\\'); } );
|
||||
}, `Test unclosed token`);
|
||||
|
||||
test(() => {
|
||||
new URLPattern(undefined, undefined);
|
||||
}, `Test constructor with undefined`);
|
||||
</script>
|
||||
Vendored
+1
-1
@@ -76,7 +76,7 @@
|
||||
"path": "url"
|
||||
},
|
||||
"urlpattern": {
|
||||
"commit": "3ffda23e5af7c59590b17c2710a22efd22dd4973",
|
||||
"commit": "84b75f08801c8cfe407c25614c49132075b8afab",
|
||||
"path": "urlpattern"
|
||||
},
|
||||
"user-timing": {
|
||||
|
||||
Reference in new issue
Block a user