Re: [FileAPI] FileReader constants

On Mon, Nov 16, 2009 at 3:25 AM, Anne van Kesteren <annevk@opera.com> wrote:
> On Fri, 13 Nov 2009 11:31:03 +0100, Arun Ranganathan <arun@mozilla.com>
> wrote:
>>
>> Anne van Kesteren wrote:
>>>
>>> It might make sense to rename INITIAL to EMPTY for consistency with
>>> HTMLMediaElement. Instead of LOADING READING might be better though I care
>>> less about that one.
>>>
>>>
>> Done, but I'll point out that this isn't *exactly* consistent with
>> HTMLMediaElement.  I agree that READING is better than LOADING, but the
>> progress events are still loadstart load, loadend, which isn't a big deal to
>> me.
>>
>> http://dev.w3.org/2006/webapi/FileAPI/
>
> Good point, maybe we should keep that one as LOADING then.

I'll also note that the EMPTY in HTMLMediaElement isn't a readyState
value, but rather a networkState value.

I don't really care either way though, and arguably EMPTY is easier to
spell than INITIAL

/ Jonas

Received on Monday, 16 November 2009 18:34:39 UTC