We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

B2G OS

DOMRequest.onerror

This property specifies a callback function to be run when a DOMRequest fails.

Note: This feature is available in Web Workers.

Syntax

request.onerror = function;

Where request is a DOMRequest object and function is a JavaScript function to run when the request fails to complete successfully.

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, jsx, kscarfone, Sheppy, tregagnon
Last updated by: fscholz,