Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: LayoutTests/fast/dom/DOMException/XPathException-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Tests the properties of the XPathException object. 1 Tests the properties of the XPathException object.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS e.toString() is "Error: TYPE_ERR: DOM XPath Exception 52" 6 PASS e.toString() is "TYPE_ERR: The expression could not be converted to return the specified type."
7 PASS Object.prototype.toString.call(e) is "[object XPathException]" 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]. 8 FAIL Object.prototype.toString.call(e.__proto__) should be [object XPathExceptio nPrototype]. Was [object Object].
9 PASS e.constructor.toString() is "function XPathException() { [native code] }" 9 PASS e.constructor.toString() is "function XPathException() { [native code] }"
10 PASS e.constructor is window.XPathException 10 PASS e.constructor is window.XPathException
11 PASS e.TYPE_ERR is e.constructor.TYPE_ERR 11 PASS e.TYPE_ERR is e.constructor.TYPE_ERR
12 PASS e.INVALID_EXPRESSION_ERR is 51 12 PASS e.INVALID_EXPRESSION_ERR is 51
13 PASS e.TYPE_ERR is 52 13 PASS e.TYPE_ERR is 52
14 PASS successfullyParsed is true 14 PASS successfullyParsed is true
15 15
16 TEST COMPLETE 16 TEST COMPLETE
17 17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698