jiangatnet...@gmail.com wrote:
I tried but failed, never can I "do_QueryInterface" from aRequest to obtain nsITraceableChannel.
Presumably you're using a Gecko version older than 1.9.1, then?
Another means is to extract the url (nsIRequest::GetName, nsIHttpChannel::GetURI, etc), and create a channel, then open and get the stream, but it is really troublesome.
And will also give you wrong data in many cases. What are you actually trying to do? -Boris _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding