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

Unified Diff: LayoutTests/fast/dom/DOMException/resources/XPathException.js

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/resources/XPathException.js
diff --git a/LayoutTests/fast/dom/DOMException/resources/XPathException.js b/LayoutTests/fast/dom/DOMException/resources/XPathException.js
index 62d8764c06863dc7088e3aafa8dd1c8d16895708..18b69c82ed13134557ba288020907ce0d41db07e 100644
--- a/LayoutTests/fast/dom/DOMException/resources/XPathException.js
+++ b/LayoutTests/fast/dom/DOMException/resources/XPathException.js
@@ -11,7 +11,7 @@ try {
e = err;
}
-shouldBeEqualToString("e.toString()", "Error: TYPE_ERR: DOM XPath Exception 52");
+shouldBeEqualToString("e.toString()", "TYPE_ERR: The expression could not be converted to return the specified type.");
shouldBeEqualToString("Object.prototype.toString.call(e)", "[object XPathException]");
shouldBeEqualToString("Object.prototype.toString.call(e.__proto__)", "[object XPathExceptionPrototype]");
shouldBeEqualToString("e.constructor.toString()", "function XPathException() { [native code] }");

Powered by Google App Engine
This is Rietveld 408576698