dev_india wrote:
I have implemented nsIURIContentListener interface.

OK. That's not the interface I thought you were going to implement, but whatever.

Now when I click on a link pointing to a normal page i.e. html, htm etc. I
got OnStartURIOpen callback and when I click on a link pointing to a .zip
file I got two callbacks i.e. OnStartURIOpen and IsPreferred.

Depending on how you registered your URI listener, sounds right.

I am not getting any other callbacks like CanHandleContent, DoContent etc.
so how can I got that my browser doesn't supports .zip file and I need to
ask to save file locally?

From the earlier mail in this thread:

>> Is nsIHelperAppLauncher and nsIHelperAppLauncherDialog interfaces are
>> correct one to use here?

>Yes.

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to