Add test for nativeWindowOpen + contextIsolation
This commit is contained in:
parent
edeac2f59e
commit
0034b306f5
3 changed files with 37 additions and 0 deletions
5
spec/fixtures/api/native-window-open-isolated-preload.js
vendored
Normal file
5
spec/fixtures/api/native-window-open-isolated-preload.js
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
const {ipcRenderer} = require('electron')
|
||||
|
||||
window.addEventListener('message', (event) => {
|
||||
ipcRenderer.send('answer', event.data)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue