[Webkit-unassigned] [Bug 37957] New: file API doesn't support multiple files
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 21 15:31:41 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=37957
Summary: file API doesn't support multiple files
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
URL: http://www.thecssninja.com/demo/gmail_upload/
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: paul.irish at gmail.com
This issue with multiple files with the file API and drag and drop is described
here:
http://www.thecssninja.com/javascript/gmail-upload
"Dropping multiple files will populate the files array in the file input, but
selecting say 3 files and dragging them into Safari will register 3 files have
been dragged but if you iterate over the files array those 3 files will all be
the same file...
"To explain it better let’s say you have 3 files each one called a.jpg, b.jpg
and c.jpg selecting those 3 files and then clicking and dragging on the b.jpg
file will add 3 files to the input. The file you did the drag operation on will
be added 3 times to the input and it will ignore the other files, iterating
over the files array will have b.jpg 3 times?!"
This can be used as a demo page:
http://www.thecssninja.com/demo/gmail_upload/
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list