[ 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