From 9c526708d9d4277611b8481f71e5df4441b9be98 Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Mon, 21 Sep 2026 07:21:59 +0800 Subject: [PATCH] doc: include full argument list for our typical wpt run --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 102637744..c06432927 100644 --- a/README.md +++ b/README.md @@ -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