Add spec for configuring web preferences from sandboxed new-window event
This commit is contained in:
parent
06e60e5d4d
commit
c71b0a5441
4 changed files with 46 additions and 0 deletions
4
spec/fixtures/api/new-window-preload.js
vendored
Normal file
4
spec/fixtures/api/new-window-preload.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
const {ipcRenderer} = require('electron')
|
||||
|
||||
ipcRenderer.send('answer', process.argv)
|
||||
window.close()
|
Loading…
Add table
Add a link
Reference in a new issue