1 Tests the properties of the exception thrown when using XPath.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS e.toString() is "TypeError: Failed to read the 'numberValue' property from 'XPathResult': The result type is not a number."
7 PASS Object.prototype.toString.call(e) is "[object Error]"
8 PASS Object.prototype.toString.call(e.__proto__) is "[object Error]"
9 PASS e.constructor.toString() is "function TypeError() { [native code] }"
10 PASS e.constructor is window.TypeError
11 PASS successfullyParsed is true