This property is a string that indicates whether or not a
DOMRequest
operation has finished running.
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.