You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/04/27 01:47:36 UTC

[jira] [Created] (CB-3285) instanceof checks in File API functions

Shazron Abdullah created CB-3285:
------------------------------------

             Summary: instanceof checks in File API functions
                 Key: CB-3285
                 URL: https://issues.apache.org/jira/browse/CB-3285
             Project: Apache Cordova
          Issue Type: Improvement
          Components: CordovaJS
    Affects Versions: Master
            Reporter: Shazron Abdullah
            Assignee: Filip Maj
            Priority: Minor


See: CB-3221

Wondering if an "instanceof File" check would have prevented this in readAsText, and the other functions as well. A user might have passed in a FileEntry instead.

--
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