OLD | NEW |
(Empty) | |
| 1 DOMException needs a real prototype: http://bugs.webkit.org/show_bug.cgi?id=1663
7 |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS e.toString() is "Error: HIERARCHY_REQUEST_ERR: DOM Exception 3" |
| 7 FAIL Object.prototype.toString.call(e) should be [object DOMException]. Was [obj
ect DOMCoreException]. |
| 8 FAIL Object.prototype.toString.call(e.__proto__) should be [object DOMExceptionP
rototype]. Was [object Object]. |
| 9 FAIL e.constructor.toString() should be [object DOMExceptionConstructor]. Was fu
nction DOMCoreException() { [native code] }. |
| 10 PASS e.constructor is window.DOMException |
| 11 PASS e.HIERARCHY_REQUEST_ERR is e.constructor.HIERARCHY_REQUEST_ERR |
| 12 PASS e.HIERARCHY_REQUEST_ERR is 3 |
| 13 PASS successfullyParsed is true |
| 14 |
| 15 TEST COMPLETE |
OLD | NEW |