Hi, I am using nsIObserver from within javascript to subscribe to topics and nsIObserverService from C++ xpcom to push notification for topics to the UI.
I noticed that the notifications are sent fine but the nsIObserver only receives them when I have a JS/XUL Gui interaction towards _any_ of my C++ xpcom components. JS: var observerService = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); observerService.addObserver(this, "event1", false); Is the subject the culprit? What could I be missing here? My goal is to receive notifications from C++ xpcoms from within their own threads without any user interaction at all. Regards, Paul _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform