iOS 8 GM Safari - XmlHttpRequest file upload does not work, and just hangs

Originator:shazron
Number:rdar://18299758 Date Originated:9/10/2014
Status:Duplicate/18144282 Resolved:
Product:iOS Product Version:8.0
Classification: Reproducible:
 
Summary:
XmlHttpRequest file upload in iOS 8 Safari (WKWebView) does not work at all. The same test page below works in iOS 8 UIWebView.

This might be related to the file:// url bug in [rdar://problem/18039024](http://www.openradar.me/radar?id=5839348817723392)

Steps to Reproduce:
1. Open iOS 8 Safari
2. Go to http://www.html5rocks.com/en/tutorials/file/xhr2/ and go to the file upload example at the end of the page
3. Select a file to upload (camera / photo roll) by pressing the "Select a file" button


Expected Results:
Ability to upload the file using xhr.

Actual Results:
Cannot upload the file using xhr.

Version:
iOS 8 GM

Notes:


Configuration:
iPhone 5

Attachments:

Comments

Fixed in 8.0.2

By kinnrot.itay at Oct. 5, 2014, 4:51 a.m. (reply...)

All File Access seems to be broken from Web Views. Javascript File API is broken.

By hyde.eric43 at Sept. 12, 2014, 6:45 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!