Index: lib/child/bootstrap.js |
=================================================================== |
--- a/lib/child/bootstrap.js |
+++ b/lib/child/bootstrap.js |
@@ -45,17 +45,17 @@ |
}; |
let callbackPrefix = Services.appinfo.processID + " "; |
let maxCallbackID = 0; |
let callbacks = new Map(); |
function sendSyncMessageSingleResponse(messageName, data) |
saroyanm
2015/12/28 10:01:44
nit: I think you can also change the function name
Wladimir Palant
2015/12/28 13:11:03
I don't think the name should be changed - that's
|
{ |
- return sendSyncMessage(messageName, {data})[0]; |
+ return sendRpcMessage(messageName, {data})[0]; |
} |
function sendAsyncMessageWithResponse(messageName, data, callback) |
{ |
data = {data}; |
if (callback) |
{ |
let callbackID = callbackPrefix + (++maxCallbackID); |