HTML DOM Document strictErrorChecking
描述
strictErrorChecking 属性已弃用。请勿使用。
strictErrorChecking 属性在所有新浏览器中都返回 undefined。
注意
strictErrorChecking 属性是 DOM Core Level 3 (2004) 的一个功能。
它用于控制浏览器是否应该为 DOM 操作抛出错误异常。
语法
语法
返回 strictErrorChecking
document.strictErrorChecking
设置 strictErrorChecking
document.strictErrorChecking = true|false
返回值
类型 | 描述 |
布尔值 | 如果 strictErrorChecking 为开启状态,则为 true 。在所有新浏览器中为 undefined 。 |