Re: [File API] FileList

On 8/31/11 4:43 AM, Anne van Kesteren wrote:
> On Wed, 31 Aug 2011 06:12:06 +0200, Arun Ranganathan 
> <arun@mozilla.com> wrote:
>> On 8/14/11 5:36 AM, Anne van Kesteren wrote:
>>> I think FileList should talk less about selected files and more 
>>> about being a collection or list of File objects. That way it can be 
>>> reused in the future without people tripping over its current narrow 
>>> definition.
>>
>> It is a collection of File objects, but they must be user selected.  
>> HTMLInputElement and DataTransfer don't make a sufficient virtue of 
>> user selection, so I feel it useful to keep it a part of FileList.
>
> Why must they be user selected? I do not think that will necessarily 
> be true over time. And it also seems to put some kind of artificial 
> constraint on UI that should not be there.
>
>
OK, this constraint has been removed now.

-- A*

Received on Thursday, 13 October 2011 20:33:26 UTC