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

The FileReader readyState is not working as expected (initial value)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.9.0
    • None
    • cordova-plugin-file
    • None
    • Gingerbread emulator

    Description

      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:

      it("initial readystate is EMPTY for fr", function() {
      	var theReader = new FileReader();
      	expect(theReader.readyState).toBe(FileReader.EMPTY);
      });
      

      It doesn't seem to be conforming to the standard: http://www.w3.org/TR/FileAPI/#dfn-empty

      Attachments

        Activity

          People

            Unassigned Unassigned
            dinglemouse Peter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: