Closed
Bug 1701094
Opened 3 years ago
Closed 3 years ago
[wpt-sync] Sync PR 28252 - URLPattern: Revamp baseURL second argument approach.
Categories
(Testing :: web-platform-tests, task, P4)
Testing
web-platform-tests
Tracking
(firefox89 fixed)
RESOLVED
FIXED
89 Branch
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
79.95 KB,
text/plain
|
Details |
Sync web-platform-tests PR 28252 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28252
Details from upstream follow.
b'Ben Kelly <wanderview@chromium.org>' wrote:
URLPattern: Revamp baseURL second argument approach.
This CL revamps our approach to using a second argument for baseURL.
The changes include:
- Using a union type in the webidl so we can throw an informative
exception instead of silently coercing an object to a string that
always fails.- Exposing the original input values in
URLPatternResult.inputs
. The
oldinput
property is now accessed asinputs[0]
.- WPT test harness uses
inputs
to determine what to pass totest()
andexec()
. This replaces the oldinput
andinputBaseURL
properties.- WPT test harness automatically validates the result
inputs
matches
the argumentinputs
. Many duplicativeinput
lines are removed
as they are no longer needed.- WPT test allows
expected_match: 'error'
to indicate thattest()
andexec()
are expected to throw TypeError exceptions.- WPT test removes
error: true
in favor ofexpected_obj: 'error'
in
order to match the behavior above for match errors.Bug: 1141510
Change-Id: I3574393a965678595dd67d59931f9ec72338f346Reviewed-on: https://chromium-review.googlesource.com/2785414
WPT-Export-Revision: 4cc1cbf4cbada3aa2ed142fe93c3d00dd9bff010
Assignee | ||
Comment 1•3 years ago
|
||
PR 28252 applied with additional changes from upstream: 7508c0db81216e57d0856aaf3ae5d36562313b3c, 0d7dd845ec0c0482cbd8c11bddafe9878dc32522
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0d04de371f7d197d61ea2003266b8db8bb9f0798
Assignee | ||
Comment 3•3 years ago
|
||
# CI Results Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 4 tests and 190 subtests ## Status Summary ### Firefox OK : 4 PASS : 4 FAIL : 756 ### Chrome OK : 4 PASS : 304 FAIL : 456 ### Safari OK : 3 PASS : 3 FAIL : 567 ERROR: 1 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=0d04de371f7d197d61ea2003266b8db8bb9f0798) [GitHub PR Head](https://wpt.fyi/results/?sha=c6b4506492d534eb8674703dba41ef897c8a4cf2&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=c6b4506492d534eb8674703dba41ef897c8a4cf2&label=pr_base) ## Details (See attachment for full changes)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9d4afd270acc [wpt PR 28252] - URLPattern: Revamp baseURL second argument approach., a=testonly https://hg.mozilla.org/integration/autoland/rev/963172f070b5 [wpt PR 28252] - Update wpt metadata, a=testonly
Pushed by nbeleuzu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e043daa21152 [wpt PR 28252] - URLPattern: Revamp baseURL second argument approach., a=testonly https://hg.mozilla.org/integration/autoland/rev/a9461df0c80b [wpt PR 28252] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/35221cbd7f9b [wpt PR 28252] - URLPattern: Revamp baseURL second argument approach., a=testonly https://hg.mozilla.org/integration/autoland/rev/9aeccc359f05 [wpt PR 28252] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/82c138b66d23 [wpt PR 28252] - URLPattern: Revamp baseURL second argument approach., a=testonly https://hg.mozilla.org/integration/autoland/rev/55ae31e11878 [wpt PR 28252] - Update wpt metadata, a=testonly
Comment 8•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/82c138b66d23
https://hg.mozilla.org/mozilla-central/rev/55ae31e11878
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox89:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•