iOS 8 GM Safari - XmlHttpRequest file upload does not work, and just hangs
| Originator: | rgerbasi | ||
| Number: | rdar://18315552 | Date Originated: | 9/10/2014 |
| Status: | Open | 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: Attempting to manipulate the File object prior to sending also doe snot work. So converting the File to an ArrayBuffer or Blob prior to sending will also fail. Creating a Blob from scratch however still does work but this does not help with uploading any files from the local filesystem. Configuration: iPod Touch 5th Generation Attachments:
Comments
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!