[FileAPI] Add a FileList.drop(index) method (#25)

Migrating my own request https://www.w3.org/Bugs/Public/show_bug.cgi?id=17125 :

Currently a FileList provided by a file input element is readonly.

This is problematic if the user added multiple files to a file list and then sees that he included one file too much and want's to remove it before uploading the files. Right now he has to start his selection from scratch. 

If there was a way to drop items from a FileList some JavaScript could display a list of selected files and allow to remove items one-by-one.

Duplicate https://www.w3.org/Bugs/Public/show_bug.cgi?id=16834 adds:

* Checking the file.size for some limit before uploading, if limit is exceeded exclude the particular file from uploading.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/25

Received on Wednesday, 21 October 2015 16:17:43 UTC