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

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

句法

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.

另请参阅

元数据

  • 最后修改: