This property specifies a callback function to be run when a
DOMRequest
fails.
request.onerror = function;
Where
request
是
DOMRequest
object and
function
is a JavaScript function to run when the request fails to complete successfully.
Not part of any current specification.
Supported in Firefox 13.
Available in workers in Firefox 41.