Bug 25923 - XMLHttpRequest.send() should support FileList as well as File
Summary: XMLHttpRequest.send() should support FileList as well as File
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 25924
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-21 03:50 PDT by Eric Seidel (no email)
Modified: 2023-03-27 05:31 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2009-05-21 03:50:07 PDT
XMLHttpRequest.send() should support FileList as well as File

Our xhr.send() implementation already supports taking a File.  We should extend it to take a FileList as well.  I assume the result would just be a multi-part MIME stream.  I've not looked enough at the current xhr.send(file) implementation to judge.
Comment 1 Anne van Kesteren 2023-03-27 05:31:39 PDT
Folks can use FormData instead.