mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-09 04:42:30 -04:00
doc: include full argument list for our typical wpt run
This commit is contained in:
1 file changed
+10
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user