On Feb 22, 1:26 am, "fi" <[EMAIL PROTECTED]> wrote: > I created a component, implementing the following interfaces: > nsISupports > nsISupportsWeakReference > nsIClassInfo > nsIURIContentListener > > I don't know why I have to implement nsIClassInfo, but QueryInterface > throws an exception, if I do not.
QI can throw lots of exceptions, just because you're QId to a thing doesn't necessarily mean you have to say yes. XPConnect is merely probing. ClassInfo happens to help certain things along, but afaicr it isn't necessary here. > As a first attempt I had my listener registered in the command-line > handler of my XULRunner application, before the first call to > openWindow. Nothing happened. No method of nsIContentListener was > invoked. you should probably look at the PSMContentListener http://mxr.landfill.bugzilla.org/seamonkey/source/security/manager/ssl/src/nsNSSComponent.cpp _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
