docs: function(e) {
              // If DONE (cancelled), then don't do anything
              if (me._readyState === FileReader.DONE) {
                  return;
              }
  
              // DONE state
              me._readyState = FileReader.DONE;
  
              me._result = null;
  
              // Save error
              me._error = new FileError(e);
  
              // If onerror callback
              if (typeof me.onerror === "function") {
                  me.onerror(new ProgressEvent("error", {target:me}));
              }
  
              // If onloadend callback
              if (typeof me.onloadend === "function") {
                  me.onloadend(new ProgressEvent("loadend", {target:me}));
              }
          }