Add failing spec for cycle in options
This commit is contained in:
parent
b942c54bea
commit
12382f064b
3 changed files with 32 additions and 2 deletions
|
@ -230,3 +230,13 @@ ipcMain.on('close-on-will-navigate', (event, id) => {
|
|||
contents.send('closed-on-will-navigate')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
ipcMain.on('create-window-with-options-cycle', (event) => {
|
||||
// This can't be done over remote since cycles are already
|
||||
// nulled out at the IPC layer
|
||||
const foo = {}
|
||||
foo.bar = foo
|
||||
const window = new BrowserWindow({show: false, foo: foo})
|
||||
event.returnValue = window.id
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue