implemented missed constructor for DOMException; fixed the tests expectations

This commit is contained in:
cdeler 2019-01-05 22:20:25 +03:00
parent 34fda66dfa
commit 220a471b14
5 changed files with 95 additions and 520 deletions

View file

@ -1,197 +1,11 @@
[DOMException-constructor-behavior.any.worker.html]
type: testharness
[new DOMException()]
expected: FAIL
[new DOMException(): inherited-ness]
expected: FAIL
[new DOMException(null)]
expected: FAIL
[new DOMException(undefined)]
expected: FAIL
[new DOMException(undefined): inherited-ness]
expected: FAIL
[new DOMException("foo")]
expected: FAIL
[new DOMException("foo"): inherited-ness]
expected: FAIL
[new DOMException("bar", undefined)]
expected: FAIL
[new DOMException("bar", "NotSupportedError")]
expected: FAIL
[new DOMException("bar", "NotSupportedError"): inherited-ness]
expected: FAIL
[new DOMException("bar", "foo")]
expected: FAIL
[new DOMexception("msg", "IndexSizeError")]
expected: FAIL
[new DOMexception("msg", "HierarchyRequestError")]
expected: FAIL
[new DOMexception("msg", "WrongDocumentError")]
expected: FAIL
[new DOMexception("msg", "InvalidCharacterError")]
expected: FAIL
[new DOMexception("msg", "NoModificationAllowedError")]
expected: FAIL
[new DOMexception("msg", "NotFoundError")]
expected: FAIL
[new DOMexception("msg", "NotSupportedError")]
expected: FAIL
[new DOMexception("msg", "InUseAttributeError")]
expected: FAIL
[new DOMexception("msg", "InvalidStateError")]
expected: FAIL
[new DOMexception("msg", "SyntaxError")]
expected: FAIL
[new DOMexception("msg", "InvalidModificationError")]
expected: FAIL
[new DOMexception("msg", "NamespaceError")]
expected: FAIL
[new DOMexception("msg", "InvalidAccessError")]
expected: FAIL
[new DOMexception("msg", "SecurityError")]
expected: FAIL
[new DOMexception("msg", "NetworkError")]
expected: FAIL
[new DOMexception("msg", "AbortError")]
expected: FAIL
[new DOMexception("msg", "URLMismatchError")]
expected: FAIL
[new DOMexception("msg", "QuotaExceededError")]
expected: FAIL
[new DOMexception("msg", "TimeoutError")]
expected: FAIL
[new DOMexception("msg", "InvalidNodeTypeError")]
expected: FAIL
[new DOMexception("msg", "DataCloneError")]
expected: FAIL
[DOMException-constructor-behavior.any.html]
type: testharness
[new DOMException()]
expected: FAIL
[new DOMException(): inherited-ness]
expected: FAIL
[new DOMException(null)]
expected: FAIL
[new DOMException(undefined)]
expected: FAIL
[new DOMException(undefined): inherited-ness]
expected: FAIL
[new DOMException("foo")]
expected: FAIL
[new DOMException("foo"): inherited-ness]
expected: FAIL
[new DOMException("bar", undefined)]
expected: FAIL
[new DOMException("bar", "NotSupportedError")]
expected: FAIL
[new DOMException("bar", "NotSupportedError"): inherited-ness]
expected: FAIL
[new DOMException("bar", "foo")]
expected: FAIL
[new DOMexception("msg", "IndexSizeError")]
expected: FAIL
[new DOMexception("msg", "HierarchyRequestError")]
expected: FAIL
[new DOMexception("msg", "WrongDocumentError")]
expected: FAIL
[new DOMexception("msg", "InvalidCharacterError")]
expected: FAIL
[new DOMexception("msg", "NoModificationAllowedError")]
expected: FAIL
[new DOMexception("msg", "NotFoundError")]
expected: FAIL
[new DOMexception("msg", "NotSupportedError")]
expected: FAIL
[new DOMexception("msg", "InUseAttributeError")]
expected: FAIL
[new DOMexception("msg", "InvalidStateError")]
expected: FAIL
[new DOMexception("msg", "SyntaxError")]
expected: FAIL
[new DOMexception("msg", "InvalidModificationError")]
expected: FAIL
[new DOMexception("msg", "NamespaceError")]
expected: FAIL
[new DOMexception("msg", "InvalidAccessError")]
expected: FAIL
[new DOMexception("msg", "SecurityError")]
expected: FAIL
[new DOMexception("msg", "NetworkError")]
expected: FAIL
[new DOMexception("msg", "AbortError")]
expected: FAIL
[new DOMexception("msg", "URLMismatchError")]
expected: FAIL
[new DOMexception("msg", "QuotaExceededError")]
expected: FAIL
[new DOMexception("msg", "TimeoutError")]
expected: FAIL
[new DOMexception("msg", "InvalidNodeTypeError")]
expected: FAIL
[new DOMexception("msg", "DataCloneError")]
expected: FAIL

View file

@ -1,20 +1,5 @@
[DOMException-custom-bindings.any.worker.html]
type: testharness
[message property descriptor]
expected: FAIL
[name property descriptor]
expected: FAIL
[code property descriptor]
expected: FAIL
[code property is not affected by shadowing the name property]
expected: FAIL
[Object.prototype.toString behavior is like other interfaces]
expected: FAIL
[Inherits its toString() from Error.prototype]
expected: FAIL
@ -24,21 +9,6 @@
[DOMException-custom-bindings.any.html]
type: testharness
[message property descriptor]
expected: FAIL
[name property descriptor]
expected: FAIL
[code property descriptor]
expected: FAIL
[code property is not affected by shadowing the name property]
expected: FAIL
[Object.prototype.toString behavior is like other interfaces]
expected: FAIL
[Inherits its toString() from Error.prototype]
expected: FAIL