Closed Bug 1728422 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30264 - URLPattern: Test unnamed segment wildcards.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox93 fixed)

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 30264 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/30264
Details from upstream follow.

b'Ben Kelly <wanderview@chromium.org>' wrote:

URLPattern: Test unnamed segment wildcards.

This provides coverage for this bit of untested code:

https://analysis.chromium.org/p/chromium/coverage/file?host=chromium.googlesource.com&project=chromium/src&ref=refs/heads/main&revision=399808806081f555cc4b4ca60821c9efc9a9ac04&path=//third_party/liburlpattern/pattern.cc&platform=linux&test_suite_type=any#155

Note, the regexp used in the tests depends on the options passed to
liburlpattern. In addition, the algorithm (and upstream path-to-regexp)
over-escape in this character class.

Bug: 1245067
Change-Id: I369c8512d2d129e2997e97e47e2d316323c5bbf2

Reviewed-on: https://chromium-review.googlesource.com/3134210
WPT-Export-Revision: e2f2847e706f4d2ab698ab0aebdf8ec60625c934

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/56084b393dfb [wpt PR 30264] - URLPattern: Test unnamed segment wildcards., a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.