mirror of
https://github.com/servo/servo.git
synced 2025-08-23 22:35:33 +01:00
Update web-platform-tests to revision 097043b336e46876e281ddec3bb014fe9c480128
This commit is contained in:
parent
ecd32570c0
commit
b68253eac0
405 changed files with 9164 additions and 3050 deletions
|
@ -3,12 +3,16 @@
|
|||
When running Chrome, there are some useful command line arguments.
|
||||
|
||||
You can inform `wpt` of the release channel of Chrome using `--channel`.
|
||||
However, `wpt` currently does not support installing Chrome or finding the
|
||||
Chrome binary of a specific channel, so you would also need to specify the path
|
||||
to the Chrome binary with `--binary`. For example, to run Chrome Dev on Linux:
|
||||
`wpt` is able to find the correct binary in the following cases:
|
||||
* On Linux for stable, beta and dev channels if
|
||||
`google-chrome-{stable,beta,unstable}` are in `PATH`;
|
||||
* On Mac for stable and canary channels if the official DMGs are installed.
|
||||
|
||||
```
|
||||
./wpt run --channel dev --binary `which google-chrome-unstable` chrome
|
||||
In other cases, you will need to specify the path to the Chrome binary with
|
||||
`--binary`. For example:
|
||||
|
||||
```bash
|
||||
./wpt run --channel dev --binary /path/to/non-default/google-chrome chrome
|
||||
```
|
||||
|
||||
Note: when the channel is "dev", `wpt` will *automatically* enable all
|
||||
|
@ -19,7 +23,7 @@ Note: when the channel is "dev", `wpt` will *automatically* enable all
|
|||
If you want to enable a specific [runtime enabled feature][1], use
|
||||
`--binary-arg` to specify the flag(s) that you want to pass to Chrome:
|
||||
|
||||
```
|
||||
```bash
|
||||
./wpt run --binary-arg=--enable-blink-features=AsyncClipboard chrome clipboard-apis/
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue