<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>136117</bug_id>
          <alias>ios8InputFile</alias>
          <creation_ts>2014-08-20 13:25:28 -0700</creation_ts>
          <short_desc>FileReader cannot read files selected with &lt;input type=&quot;file&quot;&gt; in iOS 8</short_desc>
          <delta_ts>2015-12-07 17:21:04 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://jsbin.com/yucavaxiyufi/1/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Barr">johnbarr</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>joepeck</cc>
    
    <cc>oliver</cc>
    
    <cc>woranl</cc>
    
    <cc>xKhorasan+webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1030373</commentid>
    <comment_count>0</comment_count>
    <who name="John Barr">johnbarr</who>
    <bug_when>2014-08-20 13:25:28 -0700</bug_when>
    <thetext>FileReader cannot read files selected with &lt;input type=&quot;file&quot;&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1030950</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-08-23 22:37:51 -0700</bug_when>
    <thetext>&lt;rdar://problem/18016794&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1031505</commentid>
    <comment_count>2</comment_count>
      <attachid>237179</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2014-08-26 15:56:39 -0700</bug_when>
    <thetext>Created attachment 237179
[PATCH] Proposed Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1031530</commentid>
    <comment_count>3</comment_count>
      <attachid>237179</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-08-26 17:19:27 -0700</bug_when>
    <thetext>Comment on attachment 237179
[PATCH] Proposed Fix

Clearing flags on attachment: 237179

Committed r172989: &lt;http://trac.webkit.org/changeset/172989&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1031531</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-08-26 17:19:31 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1031648</commentid>
    <comment_count>5</comment_count>
    <who name="John Barr">johnbarr</who>
    <bug_when>2014-08-27 06:39:46 -0700</bug_when>
    <thetext>Any chance this will make it into iOS 8 for its first public release?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1146706</commentid>
    <comment_count>6</comment_count>
    <who name="Warren Ling">woranl</who>
    <bug_when>2015-12-06 14:58:19 -0800</bug_when>
    <thetext>I&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1146707</commentid>
    <comment_count>7</comment_count>
    <who name="Warren Ling">woranl</who>
    <bug_when>2015-12-06 15:03:15 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; I&apos;m using iOS9, and the FileReader is having problem reading iCloud file
&gt; (i.e. .numbers file). It is giving a error code 4. No issue if the file is
&gt; an image from camera roll. This bug is not fully resolved.

I&apos;m using iOS9.1 to be exact.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1147113</commentid>
    <comment_count>8</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-12-07 17:00:14 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; I&apos;m using iOS9, and the FileReader is having problem reading iCloud file
&gt; (i.e. .numbers file). It is giving a error code 4. No issue if the file is
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1147124</commentid>
    <comment_count>9</comment_count>
    <who name="Warren Ling">woranl</who>
    <bug_when>2015-12-07 17:21:04 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #6)
&gt; &gt; I&apos;m using iOS9, and the FileReader is having problem reading iCloud file
&gt; &gt; (i.e. .numbers file). It is giving a error code 4. No issue if the file is
&gt; &gt; an image from camera roll. This bug is not fully resolved.
&gt; 
&gt; Please file a new bug! Preferably one with a test case / steps to reproduce.

Bug 151975 created.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>237179</attachid>
            <date>2014-08-26 15:56:39 -0700</date>
            <delta_ts>2014-08-26 17:19:27 -0700</delta_ts>
            <desc>[PATCH] Proposed Fix</desc>
            <filename>sandbox.patch</filename>
            <type>text/plain</type>
            <size>1918</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZU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