Re: Using the nsIObserver and nsIObserverService

2013-01-24 Thread Gavin Sharp
On Fri, Jan 18, 2013 at 3:18 AM, wrote: > 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. I'm not sure what "when I have a JS/XUL Gui interaction towards _any_ of my C++ xpc

Using the nsIObserver and nsIObserverService

2013-01-18 Thread pmiller . xul
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 m