[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
Wed May 10 23:31:32 PDT 2017


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

koichiro.sobue+webkit at invoice2go.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |koichiro.sobue+webkit at invoi
                   |                            |ce2go.com

--- Comment #3 from koichiro.sobue+webkit at invoice2go.com ---
When File object is created using window.File constructor, m_path won't be set. 
https://github.com/WebKit/webkit/blob/master/Source/WebCore/fileapi/File.cpp#L74

This causes the following if statement to evaluate false, resulting the file being ignored.
https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/network/FormData.cpp#L226

I don't think this checking is necessary.

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


More information about the webkit-unassigned mailing list