mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: initialize field trials from command line arguments (#28402)
Fixes: #27877 Co-authored-by: Saúl Ibarra Corretgé <s@saghul.net>
This commit is contained in:
@@ -80,6 +80,12 @@ This switch can not be used in `app.commandLine.appendSwitch` since it is parsed
|
||||
earlier than user's app is loaded, but you can set the `ELECTRON_ENABLE_LOGGING`
|
||||
environment variable to achieve the same effect.
|
||||
|
||||
## --force-fieldtrials=`trials`
|
||||
|
||||
Field trials to be forcefully enabled or disabled.
|
||||
|
||||
For example: `WebRTC-Audio-Red-For-Opus/Enabled/`
|
||||
|
||||
### --host-rules=`rules`
|
||||
|
||||
A comma-separated list of `rules` that control how hostnames are mapped.
|
||||
|
||||
Reference in New Issue
Block a user