Merge pull request #3581 from lightpanda-io/readme-full-wpt-command

doc: include full argument list for our typical wpt run
This commit is contained in:
Karl Seguin authored and GitHub committed 2026-09-21 13:38:40 +08:00
commit 6f877ccfaa
1 file changed
+10 -3
+10 -3
View File
@@ -373,7 +373,7 @@ Tests](https://web-platform-tests.org/).
We use [a fork](https://github.com/lightpanda-io/wpt/tree/fork) including a custom
[`testharnessreport.js`](https://github.com/lightpanda-io/wpt/blob/fork/resources/testharnessreport.js). Results are [published](https://perf.lightpanda.io/wpt) daily.
For reference, you can easily execute a WPT test case with your browser via
For reference, you can execute a WPT test case with your browser via
[wpt.live](https://wpt.live).
#### Configure WPT HTTP server
@@ -416,7 +416,14 @@ First start the WPT's HTTP server from your `wpt/` clone dir.
Run a Lightpanda browser
```
zig build run -- --insecure-disable-tls-host-verification
zig build -Dwpt_extensions run -- serve \
--ws-max-concurrent 64 \
--insecure-disable-tls-host-verification \
--load-resources iframe \
--load-resources image \
--load-resources worker \
--load-resources stylesheet \
--experimental-features cors
```
Then you can start the wptrunner from the demo's clone dir:
@@ -437,7 +444,7 @@ Also `--concurrency` define the concurrency limit.
it's useful to build in `releaseFast` mode to make tests faster.
```
zig build -Doptimize=ReleaseFast run
zig build -Dwpt_extensions -Doptimize=ReleaseFast run -- serve ...
```
## Contributing