非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。

摘要

FileRequest interface extends the DOMRequest interface to provide some extra properties necessary for the LockedFile 对象。

特性

FileRequest.lockedFile 只读
LockedFile object from which the request was started.
FileRequest.onprogress
A callback handler called repeatedly while the operation represented by the FileRequest is in progress.

FileRequest interface also inherits from the DOMRequest 接口。

DOMRequest.onsuccess
A callback handler called when the operation represented by the DOMRequest is completed.
DOMRequest.onerror

A callback handler that gets called when an error occurs while processing the operation.

DOMRequest.readyState
A string indicating whether or not the operation is finished running. Its value is either "done" or "pending".
DOMRequest.result

The operation's result.

DOMRequest.error

Error information, if any.

方法

None.

规范

规范 状态 注释
FileSystem API 编者草案 Draft proposal.

另请参阅

元数据

  • 最后修改: