"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/api/command-line-switches.md" between
electron-11.4.1.tar.gz and electron-11.4.2.tar.gz

About: Electron is a framework for creating native cross platform applications with web technologies like JavaScript, HTML, and CSS.

command-line-switches.md  (electron-11.4.1):command-line-switches.md  (electron-11.4.2)
skipping to change at line 82 skipping to change at line 82
- `remote.getCurrentWebContents()` / `remote-get-current-web-contents` - `remote.getCurrentWebContents()` / `remote-get-current-web-contents`
### --enable-logging ### --enable-logging
Prints Chromium's logging into console. Prints Chromium's logging into console.
This switch can not be used in `app.commandLine.appendSwitch` since it is parsed 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` earlier than user's app is loaded, but you can set the `ELECTRON_ENABLE_LOGGING`
environment variable to achieve the same effect. 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` ### --host-rules=`rules`
A comma-separated list of `rules` that control how hostnames are mapped. A comma-separated list of `rules` that control how hostnames are mapped.
For example: For example:
* `MAP * 127.0.0.1` Forces all hostnames to be mapped to 127.0.0.1 * `MAP * 127.0.0.1` Forces all hostnames to be mapped to 127.0.0.1
* `MAP *.google.com proxy` Forces all google.com subdomains to be resolved to * `MAP *.google.com proxy` Forces all google.com subdomains to be resolved to
"proxy". "proxy".
* `MAP test.com [::1]:77` Forces "test.com" to resolve to IPv6 loopback. Will * `MAP test.com [::1]:77` Forces "test.com" to resolve to IPv6 loopback. Will
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)