From 7ce87c470a8ecafd444c149fa22b51c863cf7a52 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 17 May 2016 17:10:33 +0900 Subject: [PATCH] docs: webview is only available with nodeIntegration on --- docs/api/web-view-tag.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/api/web-view-tag.md b/docs/api/web-view-tag.md index aa564b79e1fc..e0e8e1033e17 100644 --- a/docs/api/web-view-tag.md +++ b/docs/api/web-view-tag.md @@ -12,6 +12,9 @@ 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. +For security purpose, `webview` can only be used in `BrowserWindow`s that have +`nodeIntegration` enabled. + ## Example To embed a web page in your app, add the `webview` tag to your app's embedder