Bug 136117 (ios8InputFile) - FileReader cannot read files selected with <input type="file"> in iOS 8
Summary: FileReader cannot read files selected with <input type="file"> in iOS 8
Status: RESOLVED FIXED
Alias: ios8InputFile
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL: http://jsbin.com/yucavaxiyufi/1/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-08-20 13:25 PDT by John Barr
Modified: 2015-12-07 17:21 PST (History)
6 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (1.87 KB, patch)
2014-08-26 15:56 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Barr 2014-08-20 13:25:28 PDT
FileReader cannot read files selected with <input type="file"> in iOS 8

Repro Case:
http://jsbin.com/yucavaxiyufi/1/

Repro Steps:
a. Open above repro case on iOS 8.
b. Select an image.
c. Watch the read fail with error code 4: FileError.NOT_READABLE_ERR.
Comment 1 Alexey Proskuryakov 2014-08-23 22:37:51 PDT
<rdar://problem/18016794>
Comment 2 Joseph Pecoraro 2014-08-26 15:56:39 PDT
Created attachment 237179 [details]
[PATCH] Proposed Fix
Comment 3 WebKit Commit Bot 2014-08-26 17:19:27 PDT
Comment on attachment 237179 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 237179

Committed r172989: <http://trac.webkit.org/changeset/172989>
Comment 4 WebKit Commit Bot 2014-08-26 17:19:31 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 John Barr 2014-08-27 06:39:46 PDT
Any chance this will make it into iOS 8 for its first public release?
Comment 6 Warren Ling 2015-12-06 14:58:19 PST
I'm using iOS9, and the FileReader is having problem reading iCloud file (i.e. .numbers file). It is giving a error code 4. No issue if the file is an image from camera roll. This bug is not fully resolved.
Comment 7 Warren Ling 2015-12-06 15:03:15 PST
(In reply to comment #6)
> I'm using iOS9, and the FileReader is having problem reading iCloud file
> (i.e. .numbers file). It is giving a error code 4. No issue if the file is
> an image from camera roll. This bug is not fully resolved.

I'm using iOS9.1 to be exact.
Comment 8 Joseph Pecoraro 2015-12-07 17:00:14 PST
(In reply to comment #6)
> I'm using iOS9, and the FileReader is having problem reading iCloud file
> (i.e. .numbers file). It is giving a error code 4. No issue if the file is
> an image from camera roll. This bug is not fully resolved.

Please file a new bug! Preferably one with a test case / steps to reproduce.
Comment 9 Warren Ling 2015-12-07 17:21:04 PST
(In reply to comment #8)
> (In reply to comment #6)
> > I'm using iOS9, and the FileReader is having problem reading iCloud file
> > (i.e. .numbers file). It is giving a error code 4. No issue if the file is
> > an image from camera roll. This bug is not fully resolved.
> 
> Please file a new bug! Preferably one with a test case / steps to reproduce.

Bug 151975 created.