Re: [File API] FileList

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.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Wednesday, 31 August 2011 08:43:41 UTC