> Presumably you're using a Gecko version older than 1.9.1, then?

I am using the latest version of XULRunner SDK: 1.9.0.10, which
released at 2009-5-20.
I got it from this place, I can't find newer ones, e.g. version 1.9.1
or later.
http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/
Actually I am confused by XULRunner's version and Firefox's version

> What are you actually trying to do?

Currently I am utilizing XULRunner as a browsing engine, I navigate a
certain URL (nsIWebNavigation::LoadURI), and collect some information
by the registered nsIWebProgressListener (information about inline
links, such as referer, conteyt-type). It is easy to implement by
OnStateChange(querying the interface nsIHttpChannel from aRequest
param will work). What's more, I still need to dump the content of the
links, and provide such information to another module for analyzing
whether the inline link is malicious.

And now the problem I met is I can't dump the content directly from
the nsIHttpChannel that I queried from aRequest. Current means is,
first I get the url from the queried channel and then use the url to
createn another channel. I can open this channel and get the
nsIInputStream. But if I don't want to create a channel myself, what
can I do to get the content of the inline links?

Thanks for your continous help!
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to