HTML DOM Document strictErrorChecking

Example

Return the DOM error setting for the document:

document.strictErrorChecking;
Try it Yourself »

Description

The strictErrorChecking property is deprecated. Do NOT use it.

The strictErrorChecking property returns undefined in all new browsers.

Note

The strictErrorChecking property was a DOM Core Level 3 (2004) feature.

It was supposed to control if the browser should trow error exeptions for DOM operations.

Alternatives:

JavaScript "use strict"


Syntax

Return the strictErrorChecking

document.strictErrorChecking

Set the strictErrorChecking

document.strictErrorChecking = true|false

Return Value

Type Description
Booleantrue if strictErrorChecking is on.
undefined in all new browsers.

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.