[wpt-sync] Sync PR 29993 - URLPattern: Use default options for cannot-be-a-base pathnames.
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox93 fixed)
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 29993 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29993
Details from upstream follow.
b'Ben Kelly <wanderview@chromium.org>' wrote:
URLPattern: Use default options for cannot-be-a-base pathnames.
Standard URLs have well structured pathnames with
/
characters. We
therefore use liburlpattern options that make/
characters behave as
prefixes and separators when operating on pathnames.Non-standard (or "cannot be a base URL") URLs do not treat
/
specially
in pathnames, though. Therefore we should use default liburlpatterion
options in this case to avoid incorrectly treating a/
character as
a prefix, etc.This CL includes a test that fails without this change.
Bug: 1234865
Change-Id: I7a4e3216fb63b8c34c27662bb0bcc236669f947cReviewed-on: https://chromium-review.googlesource.com/3088258
WPT-Export-Revision: b87fdc19f482e79a70bb820f6947df6775b2b2f7
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=776296c0e1b17731e607cd6bc909bcb230c94ee3
Assignee | ||
Comment 2•3 years ago
|
||
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f4f6e1c8e4ce [wpt PR 29993] - URLPattern: Use default options for cannot-be-a-base pathnames., a=testonly
Assignee | ||
Comment 4•3 years ago
|
||
Test result changes from PR not available.
Comment 5•3 years ago
|
||
bugherder |
Description
•