carglue wrote:
> Currently testing with 2.0.0.12, however our extension is currently 
> compatible with FF 1.5 thru 3.0 betas.

I don't believe 2.0.0.12 has the nsICachingChannel.LOAD_NO_NETWORK_IO flag.

LOAD_ONLY_FROM_CACHE should work, though.  I'm pretty surprised that it 
doesn't....  Would you mind getting an HTTP log, following the instructions at 
<http://www.mozilla.org/projects/netlib/http/http-debugging.html>?

> Note, we also make use of the nsIHttpActivityObserver, which (among 
> other things) passes the ACTIVITY_SUBTYPE_RESPONSE_COMPLETE state flag 
> which reports when the complete response was received.  From that we 
> have the associated channel.  Assuming this is a good hook point for the 
> moment the complete body of the response is received

My point earlier wass that there is no such good hook point.  As data is 
received from the network, the HTTP channel passes it on to its stream listener 
and then forgets about it.

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

Reply via email to