Add spec for ipc.sendSync.
This commit is contained in:
parent
761b9d22c8
commit
68bdad9a23
2 changed files with 10 additions and 1 deletions
|
@ -26,6 +26,10 @@ ipc.on('eval', function(ev, pid, rid, script) {
|
|||
ev.returnValue = eval(script);
|
||||
});
|
||||
|
||||
ipc.on('echo', function(ev, pid, rid, msg) {
|
||||
ev.returnValue = msg;
|
||||
});
|
||||
|
||||
process.on('uncaughtException', function() {
|
||||
window.openDevTools();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue