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:
Node.js GitHub Bot authored and Antoine du Hamel committed 2026-07-30 13:51:44 +02:00
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>
+1 -1
View File
@@ -76,7 +76,7 @@
"path": "url"
},
"urlpattern": {
"commit": "23aac9278460a73394585ff5a15b6a04dfcd5ec8",
"commit": "11a459a2b1d411506d9230edf9f2ef32babfeb0b",
"path": "urlpattern"
},
"user-timing": {