abort
method aborts the read operation. Upon return, the
readyState
将是
DONE
.
instanceOfFileReader.abort();
DOM_FILE_ABORT_ERR
abort
is called while no read operation is in progress (that is, the state isn't
LOADING
).
| 规范 | 状态 | 注释 |
|---|---|---|
|
文件 API
The definition of 'abort()' in that specification. |
工作草案 | 初始定义 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
abort
|
Chrome 7 | Edge 12 | Firefox 3.6 | IE 10 | Opera 11 | Safari 6 | WebView Android Yes | Chrome Android Yes | Firefox Android 32 | Opera Android 11 | Safari iOS 6.1 | Samsung Internet Android Yes |
完整支持
FileReader