This property is a string that indicates whether or not a DOMRequest operation has finished running.

注意: 此特征可用于 Web 工作者 .

句法

var state = request.readyState;
					

Where request DOMRequest 对象。

This is a read-only property.

返回值

The returned value is a JavaScript string whose value is "done" if the operation has completed or "pending" if it has not.

规范

Not part of any current specification.

浏览器兼容性

Supported in Firefox 13.
Available in workers in Firefox 41.

另请参阅

元数据

  • 最后修改: