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:
trop[bot]
2021-03-29 00:24:59 -07:00
committed by GitHub
parent 1f7f60d505
commit bda746f2e6
4 changed files with 20 additions and 1 deletions

View File

@@ -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.