[whatwg] [mimesniff] Treating application/octet-stream as unknown for sniffing

Gordon P. Hemsley gphemsley at gmail.com
Thu Nov 29 10:11:03 PST 2012

On Thu, Nov 29, 2012 at 12:57 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> canPlayType is not called "against a file".  It's called with a single
> argument which is a string MIME type.  If you pass
> "application/octet-stream", it will return "".  Its behavior does not depend
> on any state of the element it's called on (like what it's actually pointing
> to, etc); only on the string passed in.

Oh, I see. My mistake. (One should never attempt to understand
something after 2 AM.)

So... are there any additional places where "application/octet-stream"
should be treated as if the media type was undefined? Or is this
conversation moot now?

Gordon P. Hemsley
me at gphemsley.org

More information about the whatwg mailing list