OLD | NEW |
(Empty) | |
| 1 Tests the properties of the EventException 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: UNSPECIFIED_EVENT_TYPE_ERR: DOM Events Exception 0" |
| 7 PASS Object.prototype.toString.call(e) is "[object EventException]" |
| 8 FAIL Object.prototype.toString.call(e.__proto__) should be [object EventExceptio
nPrototype]. Was [object Object]. |
| 9 FAIL e.constructor.toString() should be [object EventExceptionConstructor]. Was
function EventException() { [native code] }. |
| 10 PASS e.constructor is window.EventException |
| 11 PASS e.UNSPECIFIED_EVENT_TYPE_ERR is e.constructor.UNSPECIFIED_EVENT_TYPE_ERR |
| 12 PASS e.UNSPECIFIED_EVENT_TYPE_ERR is 0 |
| 13 PASS successfullyParsed is true |
| 14 |
| 15 TEST COMPLETE |
OLD | NEW |