cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CB-4278) FileReader result unexpected initial value
Date Tue, 22 Jul 2014 23:30:40 GMT

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

Jesse MacFadyen reassigned CB-4278:
-----------------------------------

    Assignee: Jesse MacFadyen  (was: Filip Maj)

> FileReader result unexpected initial value
> ------------------------------------------
>
>                 Key: CB-4278
>                 URL: https://issues.apache.org/jira/browse/CB-4278
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 2.9.0
>         Environment: Gingerbread emulator
>            Reporter: Peter
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>
> Expected the intitial value of FileReader result should be null as per the description
in the standard http://www.w3.org/TR/FileAPI/#dfn-result which says:
> "On getting, if the readyState is EMPTY (no read method has been called) then the result
attribute must return null."
> My following Jasmine test fragment fails:
> {code}
> it("fr.result initial value", function() {
>     var theReader = new FileReader();
>     expect(theReader.result).toBe(null);
> });
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message