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

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

Issue 17239008: Remove XPathException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 79f4fad77f6cb231fa4308334d9c226613d4565b..6b80db922b8f0f4bb84c392db37bc12c065ca352 100644
--- a/LayoutTests/fast/dom/DOMException/XPathException-expected.txt
+++ b/LayoutTests/fast/dom/DOMException/XPathException-expected.txt
@@ -1,16 +1,13 @@
-Tests the properties of the XPathException object.
+Tests the properties of the exception thrown when using XPath.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-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] }"
-PASS e.constructor is window.XPathException
-PASS e.TYPE_ERR is e.constructor.TYPE_ERR
-PASS e.INVALID_EXPRESSION_ERR is 51
-PASS e.TYPE_ERR is 52
+PASS e.toString() is "TypeError: Type error"
+PASS Object.prototype.toString.call(e) is "[object Error]"
+PASS Object.prototype.toString.call(e.__proto__) is "[object Error]"
+PASS e.constructor.toString() is "function TypeError() { [native code] }"
+PASS e.constructor is window.TypeError
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698