spec: WebView is disabled when nodeIntegration is disabled
This commit is contained in:
parent
c1399f9bdc
commit
0140015500
2 changed files with 30 additions and 2 deletions
5
spec/fixtures/module/preload-webview.js
vendored
Normal file
5
spec/fixtures/module/preload-webview.js
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
const {ipcRenderer} = require('electron')
|
||||
|
||||
window.onload = function () {
|
||||
ipcRenderer.send('webview', typeof WebView)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue