[wpt-sync] Sync PR 41594 - [wptrunner] Honor wptserve `config.json`
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox119 fixed)
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41594 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41594
Details from upstream follow.
Jonathan Lee <jonathanjlee@google.com> wrote:
[wptrunner] Honor wptserve
config.json
Currently,
wpt run
populates SSL-relatedkwargs
with defaults that will override any settings inconfig.json
.wpt run
should instead prioritize command line options first, explicitconfig.json
values second, and, if both are unavailable, the implicit hardcoded values last.This change's only breakage risk is if a vendor's CI system:
- Does not provide explicit
wpt run
SSL options- Relies on the implicit hardcoded values, yet
- Specifies a
config.json
with differentpregenerated.*
valuesThis change makes progress on https://crbug.com/1467065 in Chromium, which runs WPTs with its own test runner +
wpt serve --config
. Using wptrunner'sTestEnvironment
should function the same way.
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
Assignee | ||
Comment 5•1 year ago
|
||
Assignee | ||
Comment 6•1 year ago
|
||
Comment 8•1 year ago
|
||
bugherder |
Description
•