On 07.09.2010 22:00, Boris Zbarsky wrote:
...
* If a file in a top-level browsing context is sniffed as video but
then some kind of error is returned before the video plays the first
frame, fall back to allowing the user to download it, or whatever the
usual action would be if no sniffing had occurred.
This might be pretty difficult to implement, since the video decoder
might consume arbitrary amounts of data before saying that there was an
error.
...
It's not that hard if it's acceptable to restart the network request
(just do it again, with a flag not-to-sniff).
Best regards, Julian