W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: File API for Review

From: Arun Ranganathan <arun@mozilla.com>
Date: Wed, 13 Mar 2013 16:30:06 -0400
Cc: Anne van Kesteren <annevk@annevk.nl>, Arun Ranganathan <aranganathan@mozilla.com>, WebApps WG <public-webapps@w3.org>
Message-Id: <021DD039-CDB2-4D1C-9B8D-734DF9F39D51@mozilla.com>
To: Henri Sivonen <hsivonen@iki.fi>

On Mar 8, 2013, at 8:28 AM, Henri Sivonen wrote:

> Additionally, I think http://www.w3.org/TR/FileAPI/#dfn-type should
> clarify that the browser must not use statistical methods to guess the
> charset parameter part of the type as part of "determining" the type.
> Firefox currently asks magic 8-ball, but the magic 8-ball is broken.
> AFAICT, WebKit does not guess, so I hope it's possible to remove the
> guessing from Firefox.
> 
> (The guessing in Firefox relies on a big chunk of legacy code that's
> broken and shows no signs of ever getting fixed properly. The File API
> is currently the only thing in Firefox that exposes the mysterious
> behavior of said legacy code to the Web using the default settings of
> Firefox, so I'm hoping to remove the big chunk of legacy code instead
> of fixing it properly.)


I think we can jettison Fx's use of magic 8-ball code with this update:

http://dev.w3.org/2006/webapi/FileAPI/#dfn-type

Additional spec'ing on when to ignore the string if provided incorrectly will follow.

-- A*
Received on Wednesday, 13 March 2013 20:30:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:58 GMT