Add will-attach-webview advice to security.md
This commit is contained in:
parent
fd782706b2
commit
27a4522d65
2 changed files with 20 additions and 4 deletions
|
@ -15,10 +15,6 @@ between your app and embedded content will be asynchronous. This keeps your app
|
|||
safe from the embedded content. **Note:** Most methods called on the
|
||||
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
|
||||
`overrideWebViewSecurity` option on [browser-window](browser-window.md).
|
||||
|
||||
## Example
|
||||
|
||||
To embed a web page in your app, add the `webview` tag to your app's embedder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue