The abort
method aborts the read operation. Upon return,
the readyState
will be DONE
.
Syntax
instanceOfFileReader.abort();
Exceptions
DOM_FILE_ABORT_ERR
- Thrown when
abort
is called while no read operation is in progress (that is, the state isn'tLOADING
).
Specifications
Specification | Status | Comment |
---|---|---|
File API The definition of 'abort()' in that specification. |
Working Draft | Initial definition |
Browser compatibility
BCD tables only load in the browser