/webidl/ecmascript-binding/es-exceptions/exceptions.html| status | subtest | message |
|---|---|---|
| PASS | Object.getPrototypeOf(exception) === DOMException.prototype | |
| FAIL | exception.hasOwnProperty("name") | assert_false: expected false got true |
| FAIL | exception.hasOwnProperty("message") | assert_false: expected false got true |
| PASS | exception.name === "HierarchyRequestError" | |
| PASS | exception.code === DOMException.HIERARCHY_REQUEST_ERR | |
| PASS | Object.prototype.toString.call(exception) === "[object DOMException]" | |
| FAIL | In iframe: Object.getPrototypeOf(exception) === DOMException.prototype | assert_equals: expected object "Error" but got object "TypeError" |
| PASS | In iframe: exception.hasOwnProperty("name") | |
| FAIL | In iframe: exception.hasOwnProperty("message") | assert_false: expected false got true |
| FAIL | In iframe: exception.name === "HierarchyRequestError" | assert_equals: expected "HierarchyRequestError" but got "TypeError" |
| FAIL | In iframe: exception.code === DOMException.HIERARCHY_REQUEST_ERR | assert_equals: expected (number) 3 but got (undefined) undefined |
| FAIL | In iframe: Object.prototype.toString.call(exception) === "[object DOMException]" | assert_equals: expected "[object DOMException]" but got "[object Error]" |
| FAIL | In iframe: Object.getPrototypeOf(exception) === DOMException.prototype | assert_equals: expected object "Error" but got object "TypeError" |
| PASS | In iframe: exception.hasOwnProperty("name") | |
| FAIL | In iframe: exception.hasOwnProperty("message") | assert_false: expected false got true |
| FAIL | In iframe: exception.name === "HierarchyRequestError" | assert_equals: expected "HierarchyRequestError" but got "TypeError" |
| FAIL | In iframe: exception.code === DOMException.HIERARCHY_REQUEST_ERR | assert_equals: expected (number) 3 but got (undefined) undefined |
| FAIL | In iframe: Object.prototype.toString.call(exception) === "[object DOMException]" | assert_equals: expected "[object DOMException]" but got "[object Error]" |
bundle built 2026-07-16T07:16:48.063Z