Changing command line option name
This commit is contained in:
parent
357caf8991
commit
3321f7d39c
9 changed files with 16 additions and 30 deletions
|
@ -307,7 +307,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
|
|||
'Electron Isolated Context' entry in the combo box at the top of the
|
||||
Console tab. **Note:** This option is currently experimental and may
|
||||
change or be removed in future Electron releases.
|
||||
* `enableWebViewOverride` Boolean (optional) - Whether to enable [webview-tag](webview-tag.md)
|
||||
* `overrideWebViewSecurity` Boolean (optional) - Whether to enable [webview-tag](webview-tag.md)
|
||||
ignoring the security restriction based on `nodeIntegration`. Enabling this option will
|
||||
have security implication on creating `webview` with `nodeIntegration` disabled. To avoid the
|
||||
security risk, listen to `will-create-webview` event on [web-contents](web-contents.md) and
|
||||
|
|
|
@ -218,17 +218,6 @@ When in-page navigation happens, the page URL changes but does not cause
|
|||
navigation outside of the page. Examples of this occurring are when anchor links
|
||||
are clicked or when the DOM `hashchange` event is triggered.
|
||||
|
||||
#### Event: 'will-create-webview'
|
||||
|
||||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `params` Object
|
||||
|
||||
Emitted when web-view will be created.
|
||||
|
||||
Use this event to remove preload scripts or stop creating webviews.
|
||||
|
||||
#### Event: 'crashed'
|
||||
|
||||
Returns:
|
||||
|
|
|
@ -17,7 +17,7 @@ webview from the host page require a syncronous call to the main process.
|
|||
|
||||
For security purposes, `webview` can only be used in `BrowserWindow`s that have
|
||||
`nodeIntegration` enabled. You can override this security restiction using
|
||||
`enableWebViewOverride` option on [browser-window](browser-window.md).
|
||||
`overrideWebViewSecurity` option on [browser-window](browser-window.md).
|
||||
|
||||
## Example
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue