Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

DOMErrorHandler

Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите закончить эту работу!

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

NOTE: This is not implemented in Mozilla. For DOMException, see DOMException

Set as "error-handler" parameter in DOMConfiguration.setParameter . Implementation may provide a default handler. DOMError.relatedData will contain closest node to where error occurred or contain the Document node if it is unable to be determined. Document mutations from within the error handler result in implementation-dependent behavior. If there are to be multiple errors, the sequence and numbers of the errors passed to the error handler are also implementation dependent. The application using the DOM implementation implements this interface:

Properties

This interface neither implements, nor inherits, any property.

Methods

DOMErrorHandler.handleError()
If returns false, DOM implementation should stop processing; if true, may continue depending on DOMError.severity.

Specifications

Specification Status Comment
Document Object Model (DOM) Level 3 Core Specification
The definition of 'DOMErrorHandler' in that specification.
Recommendation Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? Not supported ? ? (Yes)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? Not supported ? ? ?

Метки документа и участники

Метки: 
 Внесли вклад в эту страницу: fscholz, teoli, kscarfone, Sheppy, Brettz9
 Обновлялась последний раз: fscholz,