Nickolay Ponomarev wrote:

> I didn't check the code now, but IIRC you should set
> notificationCallbacks of a channel to an object that can be
> getInterface'd to nsIBadCertListener. If you figure it out, please add
> an example to the code snippets at developer.mozilla.org.

If you want a global observer, you need to register under the same 
contract ID as the existing bad cert listener 
(@mozilla.org/nsBadCertListener;1) and forward calls to the old listener 
as needed.
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to