fune/testing/web-platform/tests/urlpattern/urlpattern-hasregexpgroups.any.js
Jeremy Roman a880e99e3c Bug 1866169 [wpt PR 43315] - Implement URLPattern.hasRegExpGroups., a=testonly
Automatic update from web-platform-tests
Implement URLPattern.hasRegExpGroups.

This allows authors to tell whether a pattern contains one or more
regexp groups, which may limit the uses they're able to make of it.

Bug: 1504650
Change-Id: I07b684788e921448b60c4ffee9cfe87585a794c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5054393
Reviewed-by: Shunya Shishido <sisidovski@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1228894}

--

wpt-commits: 2cc9ec1abaae212d24e2587d89d8d641634d417d
wpt-pr: 43315
2023-11-29 09:18:07 +00:00

2 lines
92 B
JavaScript

// META: global=window,worker
// META: script=resources/urlpattern-hasregexpgroups-tests.js