You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Deepti (JIRA)" <ji...@apache.org> on 2014/01/06 03:25:50 UTC

[jira] [Commented] (CB-1219) iOS 6 - FileReader not triggering onloadend function

    [ https://issues.apache.org/jira/browse/CB-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13862723#comment-13862723 ] 

Deepti commented on CB-1219:
----------------------------

I am using Cordova 2.0 version. 
How is this issue fixed? in particular version?

Deepti

> iOS 6 - FileReader not triggering onloadend function
> ----------------------------------------------------
>
>                 Key: CB-1219
>                 URL: https://issues.apache.org/jira/browse/CB-1219
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.9.0, 2.0.0
>            Reporter: Ben Longden
>            Assignee: Michal Mocny
>              Labels: ios6
>             Fix For: Master
>
>
> On iOS 5.x the following code works as expected. Testing on iOS 6 beta 4 it appears that the callback is not called at all. This may also affect other callbacks in FileReader.
> var reader = new FileReader();
> reader.onloadend = function(evt) {
>   console.log('This is never called');
> };
> reader.readAsText(obj);
> Other research into this yields http://apache.markmail.org/thread/e4dhnq5qkn6ypprf which claims 5 of 95 tests in the File API fail on iOS 6 - though I have not verified this myself.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)