Browse Source

Merge pull request #9239 from pfrazee/patch-1

Make note about sync webview calls in docs
Kevin Sawicki 8 years ago
parent
commit
d1691e0a37
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/api/webview-tag.md

+ 2 - 1
docs/api/webview-tag.md

@@ -12,7 +12,8 @@ rendered.
 Unlike an `iframe`, the `webview` runs in a separate process than your
 app. It doesn't have the same permissions as your web page and all interactions
 between your app and embedded content will be asynchronous. This keeps your app
-safe from the embedded content.
+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.