| OLD | NEW |
| (Empty) |
| 1 Tests the properties of the RangeException object. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS e.toString() is "Error: INVALID_NODE_TYPE_ERR: DOM Range Exception 2" | |
| 7 PASS Object.prototype.toString.call(e) is "[object RangeException]" | |
| 8 PASS Object.prototype.toString.call(e.__proto__) is "[object RangeExceptionProto
type]" | |
| 9 PASS e.constructor.toString() is "[object RangeExceptionConstructor]" | |
| 10 PASS e.constructor is window.RangeException | |
| 11 PASS e.INVALID_NODE_TYPE_ERR is e.constructor.INVALID_NODE_TYPE_ERR | |
| 12 PASS e.BAD_BOUNDARYPOINTS_ERR is 1 | |
| 13 PASS e.INVALID_NODE_TYPE_ERR is 2 | |
| 14 PASS successfullyParsed is true | |
| 15 | |
| 16 TEST COMPLETE | |
| 17 | |
| OLD | NEW |