W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

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

From: Gordon P. Hemsley <gphemsley@gmail.com>
Date: Thu, 29 Nov 2012 13:11:03 -0500
Message-ID: <CAH4e3M41_VaoUDrZrD1RW4UMFiYnFDBLe8jyXukmmZVMKyB=mg@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: whatwg@lists.whatwg.org
On Thu, Nov 29, 2012 at 12:57 PM, Boris Zbarsky <bzbarsky@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@gphemsley.org
http://gphemsley.org/http://gphemsley.org/blog/
Received on Thursday, 29 November 2012 19:17:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT