Boris Zbarsky wrote:
Phil H�hn wrote:

Can I get some help? I'm doing file (web page) processing - I create an object which needs to validate the page URL (as is done for 'save page as'). So this object implements component:
@mozilla.org/network/urichecker;1


So your object registers itself for this contract, overriding the Mozilla urichecker?
Yes, it does register itself for this contract.... 'override the Moz urichecker'?? Is there one already (that I can use)?

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.


Does this second object _also_ register itself for the same contract?

You can only have one class registered for a particular contractid; if another one is registered, it takes over the handling of the contractid.
Ah, that's what I needed to know. So I have to serialise requests? Uggg...

-Boris


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

Reply via email to