| OLD | NEW |
| 1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
| 2 Found 18 tests. 10 PASS 8 FAIL 0 TIMEOUT 0 NOTRUN |
| 2 PASS Object.getPrototypeOf(exception) === DOMException.prototype | 3 PASS Object.getPrototypeOf(exception) === DOMException.prototype |
| 3 FAIL exception.hasOwnProperty("name") assert_true: expected true got false | 4 FAIL exception.hasOwnProperty("name") assert_true: expected true got false |
| 4 PASS exception.name === "HierarchyRequestError" | 5 PASS exception.name === "HierarchyRequestError" |
| 5 FAIL Object.getOwnPropertyDescriptor(exception, "name") Cannot read property 'wr
itable' of undefined | 6 FAIL Object.getOwnPropertyDescriptor(exception, "name") Cannot read property 'wr
itable' of undefined |
| 6 PASS Object.getOwnPropertyDescriptor(exception, "message") | 7 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 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 Object.prototype.toString.call(exception) === "[object DOMException]" |
| 9 PASS exception.code === DOMException.HIERARCHY_REQUEST_ERR | 10 PASS exception.code === DOMException.HIERARCHY_REQUEST_ERR |
| 10 FAIL Object.getOwnPropertyDescriptor(exception, "code") Cannot read property 'wr
itable' of undefined | 11 FAIL Object.getOwnPropertyDescriptor(exception, "code") Cannot read property 'wr
itable' of undefined |
| 11 PASS In iframe: Object.getPrototypeOf(exception) === DOMException.prototype | 12 PASS In iframe: Object.getPrototypeOf(exception) === DOMException.prototype |
| 12 FAIL In iframe: exception.hasOwnProperty("name") assert_true: expected true got
false | 13 FAIL In iframe: exception.hasOwnProperty("name") assert_true: expected true got
false |
| 13 PASS In iframe: exception.name === "HierarchyRequestError" | 14 PASS In iframe: exception.name === "HierarchyRequestError" |
| 14 FAIL In iframe: Object.getOwnPropertyDescriptor(exception, "name") Cannot read p
roperty 'writable' of undefined | 15 FAIL In iframe: Object.getOwnPropertyDescriptor(exception, "name") Cannot read p
roperty 'writable' of undefined |
| 15 PASS In iframe: Object.getOwnPropertyDescriptor(exception, "message") | 16 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 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: Object.prototype.toString.call(exception) === "[object DOMExcept
ion]" |
| 18 PASS In iframe: exception.code === DOMException.HIERARCHY_REQUEST_ERR | 19 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 FAIL In iframe: Object.getOwnPropertyDescriptor(exception, "code") Cannot read p
roperty 'writable' of undefined |
| 20 Harness: the test ran to completion. | 21 Harness: the test ran to completion. |
| 21 | 22 |
| OLD | NEW |