Bug 25923
| Summary: | XMLHttpRequest.send() should support FileList as well as File | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | annevk, nigel.tao.gnome, sam |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
| Bug Depends on: | 25924 | ||
| Bug Blocks: | |||
Eric Seidel (no email)
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Anne van Kesteren
Folks can use FormData instead.