Files
sousa-gecko/testing/web-platform/tests/tools/serve/commands.json
T
moz-wptsync-bot c41a38babc Bug 2015676 [wpt PR 52416] - Add a DNS server to tools.serve, a=testonly
Automatic update from web-platform-tests
Add a DNS server to tools.serve

This provides another means of mapping hosts, for cases where using a
local DNS server is the simplest solution.

Currently, this can only be started via `wpt serve --enable-dns`; this
may be started automatically for some browsers in the future.

There is also a `--wildcard-dns=N` which instead of merely mapping the
current config's domains instead maps all subdomains N deep, only
excluding the config's not_subdomains.

--

wpt-commits: 6e3902a9946f1d3a11e98fcc4d3c25cc953f56df
wpt-pr: 52416
2026-02-12 13:04:37 +00:00

28 lines
586 B
JSON

{
"serve": {
"path": "serve.py",
"script": "run",
"parser": "get_parser",
"help": "Run wptserve server",
"virtualenv": true,
"conditional_requirements": {
"commandline_flag": {
"webtransport_h3": [
"../webtransport/requirements.txt"
],
"dns": [
"requirements_dns.txt"
]
}
}
},
"serve-wave": {
"path": "wave.py",
"script": "run",
"parser": "get_parser",
"help": "Run wptserve server for WAVE",
"virtualenv": true,
"requirements": ["../wave/requirements.txt"]
}
}