OLD | NEW |
(Empty) | |
| 1 Tests the properties of the XPathException 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: TYPE_ERR: DOM XPath Exception 52" |
| 7 PASS Object.prototype.toString.call(e) is "[object XPathException]" |
| 8 FAIL Object.prototype.toString.call(e.__proto__) should be [object XPathExceptio
nPrototype]. Was [object Object]. |
| 9 FAIL e.constructor.toString() should be [object XPathExceptionConstructor]. Was
function XPathException() { [native code] }. |
| 10 PASS e.constructor is window.XPathException |
| 11 PASS e.TYPE_ERR is e.constructor.TYPE_ERR |
| 12 PASS e.INVALID_EXPRESSION_ERR is 51 |
| 13 PASS e.TYPE_ERR is 52 |
| 14 PASS successfullyParsed is true |
| 15 |
| 16 TEST COMPLETE |
OLD | NEW |