Phil H�hn wrote:

Can I get some help? I'm doing file processing - I create an object which needs to validate the page URL. So this object implements Components.interfaces.nsIRequestObserver callback onStopRequest(...).

However if I create a second object (same type of class, i.e validate page URL and setup callback) then the first callback doesn't get called. Only the second one gets called. As you can imagine this is a major problem...

I'd assumed the XPCOM framework could support 2 different instances of the same object implementing interfaces and callbacks, but I've been told on IRC that this is not always the case. I.e some XPCOM objects can only be registered once. Is nsIRequestObserver one of them?

Which component are you actually observing?


--
Warning: May contain traces of nuts.

_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to