| OLD | NEW |
| (Empty) |
| 1 This is a testharness.js-based test. | |
| 2 PASS Object.getPrototypeOf(exception) === DOMException.prototype | |
| 3 FAIL exception.hasOwnProperty("name") assert_true: expected true got false | |
| 4 PASS exception.name === "HierarchyRequestError" | |
| 5 FAIL Object.getOwnPropertyDescriptor(exception, "name") Cannot read property 'wr
itable' of undefined | |
| 6 PASS Object.getOwnPropertyDescriptor(exception, "message") | |
| 7 FAIL typeof exception.message === "string" assert_equals: expected "" but got "F
ailed to execute 'appendChild' on 'Node': The new child element contains the par
ent." | |
| 8 PASS Object.prototype.toString.call(exception) === "[object DOMException]" | |
| 9 PASS exception.code === DOMException.HIERARCHY_REQUEST_ERR | |
| 10 FAIL Object.getOwnPropertyDescriptor(exception, "code") Cannot read property 'wr
itable' of undefined | |
| 11 PASS In iframe: Object.getPrototypeOf(exception) === DOMException.prototype | |
| 12 FAIL In iframe: exception.hasOwnProperty("name") assert_true: expected true got
false | |
| 13 PASS In iframe: exception.name === "HierarchyRequestError" | |
| 14 FAIL In iframe: Object.getOwnPropertyDescriptor(exception, "name") Cannot read p
roperty 'writable' of undefined | |
| 15 PASS In iframe: Object.getOwnPropertyDescriptor(exception, "message") | |
| 16 FAIL In iframe: typeof exception.message === "string" assert_equals: expected ""
but got "Failed to execute 'appendChild' on 'Node': The new child element conta
ins the parent." | |
| 17 PASS In iframe: Object.prototype.toString.call(exception) === "[object DOMExcept
ion]" | |
| 18 PASS In iframe: exception.code === DOMException.HIERARCHY_REQUEST_ERR | |
| 19 FAIL In iframe: Object.getOwnPropertyDescriptor(exception, "code") Cannot read p
roperty 'writable' of undefined | |
| 20 Harness: the test ran to completion. | |
| 21 | |
| OLD | NEW |