Bug 136117 (ios8InputFile)

Summary: FileReader cannot read files selected with <input type="file"> in iOS 8
Product: WebKit Reporter: John Barr <johnbarr>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, commit-queue, joepeck, oliver, woranl, xKhorasan+webkit
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: Unspecified   
URL: http://jsbin.com/yucavaxiyufi/1/
Attachments:
Description Flags
[PATCH] Proposed Fix none

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.