Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-3285

instanceof checks in File API functions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Master
    • None
    • cordova-plugin-file
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jasongin Jason Ginchereau
              shazron Shazron Abdullah
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: