Bug 960619 - part 2 - don't pretend to return a value from notifyObserversInParentProcess; r=jmaher

This commit is contained in:
Nathan Froyd 2014-01-16 09:36:14 -05:00
parent e04eda721c
commit c9e6ee141d

View File

@ -1679,7 +1679,8 @@ SpecialPowersAPI.prototype = {
throw new Error("Can't send subject to another process!");
}
if (this.isMainProcess()) {
return this.notifyObservers(subject, topic, data);
this.notifyObservers(subject, topic, data);
return;
}
var msg = {
'op': 'notify',