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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/DOMException/XPathException-expected.txt
diff --git a/LayoutTests/fast/dom/DOMException/XPathException-expected.txt b/LayoutTests/fast/dom/DOMException/XPathException-expected.txt
index 486a4cbe1b303b7b7951467327fd79d3951bddb5..79f4fad77f6cb231fa4308334d9c226613d4565b 100644
--- a/LayoutTests/fast/dom/DOMException/XPathException-expected.txt
+++ b/LayoutTests/fast/dom/DOMException/XPathException-expected.txt
@@ -3,7 +3,7 @@ Tests the properties of the XPathException object.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS e.toString() is "Error: TYPE_ERR: DOM XPath Exception 52"
+PASS e.toString() is "TYPE_ERR: The expression could not be converted to return the specified type."
PASS Object.prototype.toString.call(e) is "[object XPathException]"
FAIL Object.prototype.toString.call(e.__proto__) should be [object XPathExceptionPrototype]. Was [object Object].
PASS e.constructor.toString() is "function XPathException() { [native code] }"

Powered by Google App Engine
This is Rietveld 408576698