You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/07/16 14:52:48 UTC

[jira] [Updated] (CB-4262) The FileReader readyState is not working as expected (initial value)

     [ https://issues.apache.org/jira/browse/CB-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve updated CB-4262:
------------------------------

    Component/s:     (was: CordovaJS)
                 Plugin File
    
> The FileReader readyState is not working as expected (initial value)
> --------------------------------------------------------------------
>
>                 Key: CB-4262
>                 URL: https://issues.apache.org/jira/browse/CB-4262
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 2.9.0
>         Environment: Gingerbread emulator
>            Reporter: Peter
>            Assignee: Filip Maj
>            Priority: Minor
>
> Expected default state for the FileReader should be *FileReader.EMPTY*, but it seem that this is not the case.
> e.g. Following Jasmine test fragment fails:
> {code}
> it("initial readystate is EMPTY for fr", function() {
> 	var theReader = new FileReader();
> 	expect(theReader.readyState).toBe(FileReader.EMPTY);
> });
> {code}
> It doesn't seem to be conforming to the standard: http://www.w3.org/TR/FileAPI/#dfn-empty

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira