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

Jonas Sicking jonas at sicking.cc
Sat Dec 15 17:39:58 PST 2012


On Wed, Dec 5, 2012 at 9:11 AM, Ian Hickson <ian at 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


More information about the whatwg mailing list