Add sync executeJavaScript test
This commit is contained in:
parent
124fbdbd74
commit
75b010ce63
2 changed files with 10 additions and 1 deletions
|
@ -48,7 +48,7 @@ electron.ipcRenderer.on('ELECTRON_INTERNAL_RENDERER_ASYNC_WEB_FRAME_METHOD', (ev
|
|||
})
|
||||
}
|
||||
args.push(responseCallback)
|
||||
electron.webFrame[method].apply(electron.webFrame, args)
|
||||
electron.webFrame[method](...args)
|
||||
})
|
||||
|
||||
// Process command line arguments.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue