"Stefan Atev" <[EMAIL PROTECTED]> writes:
> The short story: I "inherit" from Mozilla's HTTP protocol handler so I
> can do some fancy caching inside SashXB. I more or less replace the
> handler, and Mozilla caches its component registry, so whenever someone
> starts Mozilla on its own he gets to use my protocol handler.
So you're sharing a single component registry between SashXB and
Mozilla?
> This is not a functionality problem as I forward everything to the
> original handler, and everything works correctly, but I would be
> very happy to know if there is any way to unregister my handler.
This is something you would do as SashXB exits, I take it?
> there a way to force Mozilla not to cache my own handler's
> registration information?
I suspect you could do it using one or more of the Unregister methods
in nsIComponentManager. I don't know whether you'd need to
re-register the original Mozilla component by hand at that point; you
might.
> BTW, Changing the schema name to something different than
> "http" is not an option.
Dan
--