W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2012

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Sat, 15 Dec 2012 17:39:58 -0800
Message-ID: <CA+c2ei9V3U_ZyV=EUdHK4dbAUj4=60cuyFr_CbGsRQr-6YTxww@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: Victor Costan <costan@gmail.com>, whatwg@whatwg.org
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:50 UTC