B2G OS

DOMRequest.readyState

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

Note: This feature is available in Web Workers.

Syntax

var state = request.readyState;

Where request is a DOMRequest object.

This is a read-only property.

Return value

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

Specifications

Not part of any current specification.

Browser compatibility

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

See also

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills, teoli, MHasan, kscarfone, Sheppy, tregagnon, markg
Last updated by: fscholz,