On Tue, Jun 24, 2008 at 10:36 AM, Yeti <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I'm willing to intercep URL updates using the nsIURIContentListener
> interface and its OnStartURIOpen method.
>
> The listener seems to be correctly added to the browser, but the
> method is never called and I don't know why...
>
> Did anyone run into that issue and maybe found any workaround?
Yes. I ran into the issue using a build of release tag 2-0-0-12 (I think
that was the one), then I updated and integrated my sources with
the new embedding stuff and the content listener started working.
On the other hand, I did have a situation where I wasnt using
a nsCOMPtr to hold the content listener, and that I guess caused it
to silently go out of scope causing similar symtoms.
Cheers,
-Tristan
Note: I think the nsIURIContentListener stuff is already merged in and available
in the embedding repo here
http://hg.mozilla.org/users/blassey_mozilla.com/embedding/
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding