Michel Gutierrez wrote:
However, in some situations, I need to be able to perform alert, prompt, ... If I override nsIPrompt.idl for instance, I can decide whether or not I must fake the dialog. In case I should not, is there a way to call the former interface ?

You can't override nsIPrompt, that is just an interface, there's no contract ID/CID associated with it.

Anyway, if you want to forward this to the previously registered component, just get it by CID.
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to