webidl/ecmascript-binding/es-exceptions/
251 / 261 WPT subtests passing
- Failed
- 10
- Timed out
- 0
- Not run
- 0
- Test files
- 7
- Blocking files
- 0
Chrome 247 / 261 WPT subtests passing on the same files, none blocking
Tests
7 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
DOMException-constants.any.js 102 / 102 passingChrome 102 / 1020 failedClean
/webidl/ecmascript-binding/es-exceptions/DOMException-constants.any.html OK 51 / 51
51 passing subtests
- DOMException-constants
- Constant INDEX_SIZE_ERR on DOMException constructor object
- Constant INDEX_SIZE_ERR on DOMException prototype object
- Constant DOMSTRING_SIZE_ERR on DOMException constructor object
- Constant DOMSTRING_SIZE_ERR on DOMException prototype object
- Constant HIERARCHY_REQUEST_ERR on DOMException constructor object
- Constant HIERARCHY_REQUEST_ERR on DOMException prototype object
- Constant WRONG_DOCUMENT_ERR on DOMException constructor object
- Constant WRONG_DOCUMENT_ERR on DOMException prototype object
- Constant INVALID_CHARACTER_ERR on DOMException constructor object
- Constant INVALID_CHARACTER_ERR on DOMException prototype object
- Constant NO_DATA_ALLOWED_ERR on DOMException constructor object
- Constant NO_DATA_ALLOWED_ERR on DOMException prototype object
- Constant NO_MODIFICATION_ALLOWED_ERR on DOMException constructor object
- Constant NO_MODIFICATION_ALLOWED_ERR on DOMException prototype object
- Constant NOT_FOUND_ERR on DOMException constructor object
- Constant NOT_FOUND_ERR on DOMException prototype object
- Constant NOT_SUPPORTED_ERR on DOMException constructor object
- Constant NOT_SUPPORTED_ERR on DOMException prototype object
- Constant INUSE_ATTRIBUTE_ERR on DOMException constructor object
- Constant INUSE_ATTRIBUTE_ERR on DOMException prototype object
- Constant INVALID_STATE_ERR on DOMException constructor object
- Constant INVALID_STATE_ERR on DOMException prototype object
- Constant SYNTAX_ERR on DOMException constructor object
- Constant SYNTAX_ERR on DOMException prototype object
- Constant INVALID_MODIFICATION_ERR on DOMException constructor object
- Constant INVALID_MODIFICATION_ERR on DOMException prototype object
- Constant NAMESPACE_ERR on DOMException constructor object
- Constant NAMESPACE_ERR on DOMException prototype object
- Constant INVALID_ACCESS_ERR on DOMException constructor object
- Constant INVALID_ACCESS_ERR on DOMException prototype object
- Constant VALIDATION_ERR on DOMException constructor object
- Constant VALIDATION_ERR on DOMException prototype object
- Constant TYPE_MISMATCH_ERR on DOMException constructor object
- Constant TYPE_MISMATCH_ERR on DOMException prototype object
- Constant SECURITY_ERR on DOMException constructor object
- Constant SECURITY_ERR on DOMException prototype object
- Constant NETWORK_ERR on DOMException constructor object
- Constant NETWORK_ERR on DOMException prototype object
- Constant ABORT_ERR on DOMException constructor object
- Constant ABORT_ERR on DOMException prototype object
- Constant URL_MISMATCH_ERR on DOMException constructor object
- Constant URL_MISMATCH_ERR on DOMException prototype object
- Constant QUOTA_EXCEEDED_ERR on DOMException constructor object
- Constant QUOTA_EXCEEDED_ERR on DOMException prototype object
- Constant TIMEOUT_ERR on DOMException constructor object
- Constant TIMEOUT_ERR on DOMException prototype object
- Constant INVALID_NODE_TYPE_ERR on DOMException constructor object
- Constant INVALID_NODE_TYPE_ERR on DOMException prototype object
- Constant DATA_CLONE_ERR on DOMException constructor object
- Constant DATA_CLONE_ERR on DOMException prototype object
/webidl/ecmascript-binding/es-exceptions/DOMException-constants.any.worker.html OK 51 / 51
51 passing subtests
- DOMException-constants
- Constant INDEX_SIZE_ERR on DOMException constructor object
- Constant INDEX_SIZE_ERR on DOMException prototype object
- Constant DOMSTRING_SIZE_ERR on DOMException constructor object
- Constant DOMSTRING_SIZE_ERR on DOMException prototype object
- Constant HIERARCHY_REQUEST_ERR on DOMException constructor object
- Constant HIERARCHY_REQUEST_ERR on DOMException prototype object
- Constant WRONG_DOCUMENT_ERR on DOMException constructor object
- Constant WRONG_DOCUMENT_ERR on DOMException prototype object
- Constant INVALID_CHARACTER_ERR on DOMException constructor object
- Constant INVALID_CHARACTER_ERR on DOMException prototype object
- Constant NO_DATA_ALLOWED_ERR on DOMException constructor object
- Constant NO_DATA_ALLOWED_ERR on DOMException prototype object
- Constant NO_MODIFICATION_ALLOWED_ERR on DOMException constructor object
- Constant NO_MODIFICATION_ALLOWED_ERR on DOMException prototype object
- Constant NOT_FOUND_ERR on DOMException constructor object
- Constant NOT_FOUND_ERR on DOMException prototype object
- Constant NOT_SUPPORTED_ERR on DOMException constructor object
- Constant NOT_SUPPORTED_ERR on DOMException prototype object
- Constant INUSE_ATTRIBUTE_ERR on DOMException constructor object
- Constant INUSE_ATTRIBUTE_ERR on DOMException prototype object
- Constant INVALID_STATE_ERR on DOMException constructor object
- Constant INVALID_STATE_ERR on DOMException prototype object
- Constant SYNTAX_ERR on DOMException constructor object
- Constant SYNTAX_ERR on DOMException prototype object
- Constant INVALID_MODIFICATION_ERR on DOMException constructor object
- Constant INVALID_MODIFICATION_ERR on DOMException prototype object
- Constant NAMESPACE_ERR on DOMException constructor object
- Constant NAMESPACE_ERR on DOMException prototype object
- Constant INVALID_ACCESS_ERR on DOMException constructor object
- Constant INVALID_ACCESS_ERR on DOMException prototype object
- Constant VALIDATION_ERR on DOMException constructor object
- Constant VALIDATION_ERR on DOMException prototype object
- Constant TYPE_MISMATCH_ERR on DOMException constructor object
- Constant TYPE_MISMATCH_ERR on DOMException prototype object
- Constant SECURITY_ERR on DOMException constructor object
- Constant SECURITY_ERR on DOMException prototype object
- Constant NETWORK_ERR on DOMException constructor object
- Constant NETWORK_ERR on DOMException prototype object
- Constant ABORT_ERR on DOMException constructor object
- Constant ABORT_ERR on DOMException prototype object
- Constant URL_MISMATCH_ERR on DOMException constructor object
- Constant URL_MISMATCH_ERR on DOMException prototype object
- Constant QUOTA_EXCEEDED_ERR on DOMException constructor object
- Constant QUOTA_EXCEEDED_ERR on DOMException prototype object
- Constant TIMEOUT_ERR on DOMException constructor object
- Constant TIMEOUT_ERR on DOMException prototype object
- Constant INVALID_NODE_TYPE_ERR on DOMException constructor object
- Constant INVALID_NODE_TYPE_ERR on DOMException prototype object
- Constant DATA_CLONE_ERR on DOMException constructor object
- Constant DATA_CLONE_ERR on DOMException prototype object
DOMException-constructor-and-prototype.any.js 6 / 6 passingChrome 6 / 60 failedClean
/webidl/ecmascript-binding/es-exceptions/DOMException-constructor-and-prototype.any.html OK 3 / 3
3 passing subtests
- existence and property descriptor of DOMException
- existence and property descriptor of DOMException.prototype
- existence and property descriptor of DOMException.prototype.constructor
/webidl/ecmascript-binding/es-exceptions/DOMException-constructor-and-prototype.any.worker.html OK 3 / 3
3 passing subtests
- existence and property descriptor of DOMException
- existence and property descriptor of DOMException.prototype
- existence and property descriptor of DOMException.prototype.constructor
DOMException-constructor-behavior.any.js 92 / 92 passingChrome 92 / 920 failedClean
/webidl/ecmascript-binding/es-exceptions/DOMException-constructor-behavior.any.html OK 46 / 46
46 passing subtests
- new DOMException()
- new DOMException(): inherited-ness
- new DOMException(null)
- new DOMException(undefined)
- new DOMException(undefined): inherited-ness
- new DOMException("foo")
- new DOMException("foo"): inherited-ness
- new DOMException("bar", undefined)
- new DOMException("bar", "NotSupportedError")
- new DOMException("bar", "NotSupportedError"): inherited-ness
- new DOMException("bar", "foo")
- new DOMexception("msg", "IndexSizeError")
- new DOMexception("msg", "HierarchyRequestError")
- new DOMexception("msg", "WrongDocumentError")
- new DOMexception("msg", "InvalidCharacterError")
- new DOMexception("msg", "NoModificationAllowedError")
- new DOMexception("msg", "NotFoundError")
- new DOMexception("msg", "NotSupportedError")
- new DOMexception("msg", "InUseAttributeError")
- new DOMexception("msg", "InvalidStateError")
- new DOMexception("msg", "SyntaxError")
- new DOMexception("msg", "InvalidModificationError")
- new DOMexception("msg", "NamespaceError")
- new DOMexception("msg", "InvalidAccessError")
- new DOMexception("msg", "TypeMismatchError")
- new DOMexception("msg", "SecurityError")
- new DOMexception("msg", "NetworkError")
- new DOMexception("msg", "AbortError")
- new DOMexception("msg", "URLMismatchError")
- new DOMexception("msg", "QuotaExceededError")
- new DOMexception("msg", "TimeoutError")
- new DOMexception("msg", "InvalidNodeTypeError")
- new DOMexception("msg", "DataCloneError")
- new DOMexception("msg", "DOMStringSizeError")
- new DOMexception("msg", "NoDataAllowedError")
- new DOMexception("msg", "ValidationError")
- new DOMexception("msg", "EncodingError")
- new DOMexception("msg", "NotReadableError")
- new DOMexception("msg", "UnknownError")
- new DOMexception("msg", "ConstraintError")
- new DOMexception("msg", "DataError")
- new DOMexception("msg", "TransactionInactiveError")
- new DOMexception("msg", "ReadOnlyError")
- new DOMexception("msg", "VersionError")
- new DOMexception("msg", "OperationError")
- new DOMexception("msg", "NotAllowedError")
/webidl/ecmascript-binding/es-exceptions/DOMException-constructor-behavior.any.worker.html OK 46 / 46
46 passing subtests
- new DOMException()
- new DOMException(): inherited-ness
- new DOMException(null)
- new DOMException(undefined)
- new DOMException(undefined): inherited-ness
- new DOMException("foo")
- new DOMException("foo"): inherited-ness
- new DOMException("bar", undefined)
- new DOMException("bar", "NotSupportedError")
- new DOMException("bar", "NotSupportedError"): inherited-ness
- new DOMException("bar", "foo")
- new DOMexception("msg", "IndexSizeError")
- new DOMexception("msg", "HierarchyRequestError")
- new DOMexception("msg", "WrongDocumentError")
- new DOMexception("msg", "InvalidCharacterError")
- new DOMexception("msg", "NoModificationAllowedError")
- new DOMexception("msg", "NotFoundError")
- new DOMexception("msg", "NotSupportedError")
- new DOMexception("msg", "InUseAttributeError")
- new DOMexception("msg", "InvalidStateError")
- new DOMexception("msg", "SyntaxError")
- new DOMexception("msg", "InvalidModificationError")
- new DOMexception("msg", "NamespaceError")
- new DOMexception("msg", "InvalidAccessError")
- new DOMexception("msg", "TypeMismatchError")
- new DOMexception("msg", "SecurityError")
- new DOMexception("msg", "NetworkError")
- new DOMexception("msg", "AbortError")
- new DOMexception("msg", "URLMismatchError")
- new DOMexception("msg", "QuotaExceededError")
- new DOMexception("msg", "TimeoutError")
- new DOMexception("msg", "InvalidNodeTypeError")
- new DOMexception("msg", "DataCloneError")
- new DOMexception("msg", "DOMStringSizeError")
- new DOMexception("msg", "NoDataAllowedError")
- new DOMexception("msg", "ValidationError")
- new DOMexception("msg", "EncodingError")
- new DOMexception("msg", "NotReadableError")
- new DOMexception("msg", "UnknownError")
- new DOMexception("msg", "ConstraintError")
- new DOMexception("msg", "DataError")
- new DOMexception("msg", "TransactionInactiveError")
- new DOMexception("msg", "ReadOnlyError")
- new DOMexception("msg", "VersionError")
- new DOMexception("msg", "OperationError")
- new DOMexception("msg", "NotAllowedError")
DOMException-custom-bindings.any.js 30 / 30 passingChrome 28 / 300 failedClean
/webidl/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.html OK 15 / 15
15 passing subtests
- Cannot construct without new
- inherits from Error: prototype-side
- does not inherit from Error: class-side
- message property descriptor
- message getter performs brand checks (i.e. is not [LegacyLenientThis])
- name property descriptor
- name getter performs brand checks (i.e. is not [LegacyLenientThis])
- code property descriptor
- code getter performs brand checks (i.e. is not [LegacyLenientThis])
- code property is not affected by shadowing the name property
- Object.prototype.toString behavior is like other interfaces
- Inherits its toString() from Error.prototype
- toString() behavior from Error.prototype applies as expected
- DOMException.prototype.toString() applied to DOMException.prototype throws because of name/message brand checks
- If the implementation has a stack property on normal errors, it also does on DOMExceptions
/webidl/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.worker.html OK 15 / 15
15 passing subtests
- Cannot construct without new
- inherits from Error: prototype-side
- does not inherit from Error: class-side
- message property descriptor
- message getter performs brand checks (i.e. is not [LegacyLenientThis])
- name property descriptor
- name getter performs brand checks (i.e. is not [LegacyLenientThis])
- code property descriptor
- code getter performs brand checks (i.e. is not [LegacyLenientThis])
- code property is not affected by shadowing the name property
- Object.prototype.toString behavior is like other interfaces
- Inherits its toString() from Error.prototype
- toString() behavior from Error.prototype applies as expected
- DOMException.prototype.toString() applied to DOMException.prototype throws because of name/message brand checks
- If the implementation has a stack property on normal errors, it also does on DOMExceptions
DOMException-is-error.any.js 2 / 2 passingChrome 2 / 20 failedClean
/webidl/ecmascript-binding/es-exceptions/DOMException-is-error.any.html OK 1 / 1
1 passing subtest
- DOMException-is-error
/webidl/ecmascript-binding/es-exceptions/DOMException-is-error.any.worker.html OK 1 / 1
1 passing subtest
- DOMException-is-error
DOMException-stack-accessor.any.js 7 / 17 passingChrome 5 / 1710 failedWith failures
/webidl/ecmascript-binding/es-exceptions/DOMException-stack-accessor.any.html OK 4 / 9
- ¶
FAILDOMException instance does not have an own stack property
assert_false: stack must not be an own property of the instance expected false got true
- ¶
FAILError.prototype.stack is an accessor property with correct attributes
assert_not_equals: Error.prototype must have a stack property descriptor got disallowed value undefined
- ¶
FAILError.prototype.stack getter works on DOMException instances
Cannot read properties of undefined (reading 'get')
- ¶
FAILError.prototype.stack setter installs own data property on DOMException instances
Cannot read properties of undefined (reading 'set')
- ¶
FAILError.prototype.stack setter ignores Error.prototype itself
Cannot read properties of undefined (reading 'set')
4 passing subtests
- new DOMException() has a stack property that is a string
- new DOMException() with no arguments has a stack property that is a string
- thrown DOMException from DOM API has a stack property that is a string
- DOMException.prototype does not have an own stack property
/webidl/ecmascript-binding/es-exceptions/DOMException-stack-accessor.any.worker.html OK 3 / 8
- ¶
FAILDOMException instance does not have an own stack property
assert_false: stack must not be an own property of the instance expected false got true
- ¶
FAILError.prototype.stack is an accessor property with correct attributes
assert_not_equals: Error.prototype must have a stack property descriptor got disallowed value undefined
- ¶
FAILError.prototype.stack getter works on DOMException instances
Cannot read properties of undefined (reading 'get')
- ¶
FAILError.prototype.stack setter installs own data property on DOMException instances
Cannot read properties of undefined (reading 'set')
- ¶
FAILError.prototype.stack setter ignores Error.prototype itself
Cannot read properties of undefined (reading 'set')
3 passing subtests
- new DOMException() has a stack property that is a string
- new DOMException() with no arguments has a stack property that is a string
- DOMException.prototype does not have an own stack property
exceptions.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- Object.getPrototypeOf(exception) === DOMException.prototype
- exception.hasOwnProperty("name")
- exception.hasOwnProperty("message")
- exception.name === "HierarchyRequestError"
- exception.code === DOMException.HIERARCHY_REQUEST_ERR
- Object.prototype.toString.call(exception) === "[object DOMException]"
- In iframe: Object.getPrototypeOf(exception) === DOMException.prototype
- In iframe: exception.hasOwnProperty("name")
- In iframe: exception.hasOwnProperty("message")
- In iframe: exception.name === "HierarchyRequestError"
- In iframe: exception.code === DOMException.HIERARCHY_REQUEST_ERR
- In iframe: Object.prototype.toString.call(exception) === "[object DOMException]"