Hi, everyone:

Currently I am using XULRunner for embedding develepment and I use
nsIWebProgressListener to listen to the state change events for
necessary information.


But, the following code returns an error.

nsCOMPtr<nsIHttpChannel> c = do_QueryInteface(aRequest);
nsCOMPtr<nsIInputStream> s;
c->Open(getter_AddRefs(s));

I then come to know that the channel can't be re-opened since
NS_ERROR_IN_PROGRESS is returned by Open, however, I want to retrieve
the stream from the ALREADY OPENED channel. So what can I do?

Thanks!
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to