Re: [whatwg] Make the files attribute of the input element writable

On Wed, Dec 5, 2012 at 9:11 AM, Ian Hickson <ian@hixie.ch> wrote:
> On Wed, 5 Dec 2012, Victor Costan wrote:
>>
>> There was a thread on this mailing list discussing making it possible to
>> set the file data behind an <input type="file"> element.
>> http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-May/thread.html#36140
>>
>> The thread seems to have died down due to insufficient applications for
>> the proposal.
>
> Actually the reason this thread hasn't gone anywhere is that there seems
> to only be implementer interest from Chrome.

Actually, I'd be quite interested to see this implemented in Gecko. My
only requirement is that something like the following should work:

myFileInput.files = [ablob, afile, anotherblob, new Blob(["foo"])];

/ Jonas

Received on Sunday, 16 December 2012 01:40:54 UTC