mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
test: update WPT for urlpattern to 11a459a2b1
PR-URL: https://github.com/nodejs/node/pull/64037 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
79d685adf3
commit
01cbe530eb
2 files changed
+13
-1
No files matched your search
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
assert_throws_js(TypeError, () => { new URLPattern({ pathname: '()' }); });
|
||||
}, `URLPattern rejects an empty regexp group '()' with a TypeError`);
|
||||
|
||||
test(() => {
|
||||
new URLPattern({ pathname: '(a)' });
|
||||
}, `URLPattern accepts a non-empty regexp group '(a)'`);
|
||||
</script>
|
||||
Vendored
+1
-1
@@ -76,7 +76,7 @@
|
||||
"path": "url"
|
||||
},
|
||||
"urlpattern": {
|
||||
"commit": "23aac9278460a73394585ff5a15b6a04dfcd5ec8",
|
||||
"commit": "11a459a2b1d411506d9230edf9f2ef32babfeb0b",
|
||||
"path": "urlpattern"
|
||||
},
|
||||
"user-timing": {
|
||||
|
||||
Reference in new issue
Block a user