[Webkit-unassigned] [Bug 165081] Unable to post File data in Safari 10 with a XHR POST request

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 29 12:21:50 PST 2016


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

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at webkit.org,
                   |                            |beidson at apple.com,
                   |                            |cdumez at apple.com,
                   |                            |webkit-bug-importer at group.a
                   |                            |pple.com, youennf at gmail.com
            Summary|Unable to post data in      |Unable to post File data in
                   |Safari 10 with a XHR POST   |Safari 10 with a XHR POST
                   |request                     |request
          Component|New Bugs                    |Page Loading

--- Comment #1 from Alexey Proskuryakov <ap at webkit.org> ---
Weird! Probably a general issue with Files created from Blobs, as there doesn't seem to be anything XHR specific here.

As a workaround, you can create the FormData with a Blob instead of a File:

data.append('file', blob, name);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161129/b3e82f94/attachment-0001.html>


More information about the webkit-unassigned mailing list