spec: WebView is disabled when nodeIntegration is disabled

This commit is contained in:
Cheng Zhao 2016-05-17 17:04:13 +09:00
parent c1399f9bdc
commit 0140015500
2 changed files with 30 additions and 2 deletions

View file

@ -0,0 +1,5 @@
const {ipcRenderer} = require('electron')
window.onload = function () {
ipcRenderer.send('webview', typeof WebView)
}