mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 960619 - part 2 - don't pretend to return a value from notifyObserversInParentProcess; r=jmaher
This commit is contained in:
parent
07e57f2e24
commit
6033138365
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user