[
https://issues.apache.org/jira/browse/CB-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992195#comment-14992195
]
Jason Ginchereau commented on CB-3285:
--------------------------------------
See also CB-9810, where the same instanceof check could have helped.
> 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: Plugin File
> Affects Versions: Master
> Reporter: Shazron Abdullah
> Assignee: Jason Ginchereau
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]