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 07e57f2e24
commit 6033138365

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',