<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:ap@webkit.org" title="Alexey Proskuryakov <ap@webkit.org>"> <span class="fn">Alexey Proskuryakov</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Unable to post File data in Safari 10 with a XHR POST request"
href="https://bugs.webkit.org/show_bug.cgi?id=165081">bug 165081</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>ap@webkit.org, beidson@apple.com, cdumez@apple.com, webkit-bug-importer@group.apple.com, youennf@gmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Summary</td>
<td>Unable to post data in Safari 10 with a XHR POST request
</td>
<td>Unable to post File data in Safari 10 with a XHR POST request
</td>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>New Bugs
</td>
<td>Page Loading
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unable to post File data in Safari 10 with a XHR POST request"
href="https://bugs.webkit.org/show_bug.cgi?id=165081#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Unable to post File data in Safari 10 with a XHR POST request"
href="https://bugs.webkit.org/show_bug.cgi?id=165081">bug 165081</a>
from <span class="vcard"><a class="email" href="mailto:ap@webkit.org" title="Alexey Proskuryakov <ap@webkit.org>"> <span class="fn">Alexey Proskuryakov</span></a>
</span></b>
<pre>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);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>