[Webkit-unassigned] [Bug 19901] XMLHttpRequest Async Request onreadystate does not go past 1 when uploading a file

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 2 01:47:53 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=19901


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE




------- Comment #3 from ap at webkit.org  2009-04-02 01:47 PDT -------
Thanks! This is the same as bug 23933, which was filed later, but has somewhat
more detail and a test case, so I'll mark this as a duplicate.

A workaround in your case is to use XMLHttpRequest file upload instead of form
submission. This is not supported in any Safari release yet, but is supported
in Safari 4 beta. Untested pseudo-code:

var fileInputElement = ...
var file = fileInputElement.files[0]; // multiple files in one input element
are supported
var req = new XMLHttpRequest;
req.open(...);
req.send(file);

*** This bug has been marked as a duplicate of 23933 ***


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list