Todd Whiteman wrote:
This protocol handler is mostly working fine, except that it seems to block until all the data is read before displaying the contents or before offering the save as dialog (in the case of an unknown file extension).
That should happen when you make your onStartRequest call on the listener, usually. The one exception is when your date is of type "application/x-unknown-content-type", because in that case we sniff the data to determine the real type. The sniffer will buffer up a certain amount of data before doing the sniffing, and then you'll get the onStartRequest call on the original listener when the sniffing happens (when all the data is received or the buffer is full, whichever happens first).
-Boris _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
