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

Unified Diff: LayoutTests/fast/dom/DOMException/prototype-object-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/prototype-object-expected.txt
diff --git a/LayoutTests/fast/dom/DOMException/prototype-object-expected.txt b/LayoutTests/fast/dom/DOMException/prototype-object-expected.txt
index 5eb983b7325a85ffcb2ddea770ae39fa7b302538..ed97b65c1daa3e2bd0bb161d404482b6211d5996 100644
--- a/LayoutTests/fast/dom/DOMException/prototype-object-expected.txt
+++ b/LayoutTests/fast/dom/DOMException/prototype-object-expected.txt
@@ -3,7 +3,7 @@ This tests the prototype chain of DOMException objects.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS e.toString() is "Error: HierarchyRequestError: DOM Exception 3"
+PASS e.toString() is "HierarchyRequestError: A Node was inserted somewhere it doesn't belong."
PASS Object.prototype.toString.call(e) is "[object DOMException]"
FAIL Object.prototype.toString.call(e.__proto__) should be [object DOMExceptionPrototype]. Was [object Object].
PASS Object.prototype.toString.call(e.__proto__.__proto__) is "[object Error]"
@@ -15,7 +15,7 @@ PASS e.HIERARCHY_REQUEST_ERR is e.constructor.HIERARCHY_REQUEST_ERR
PASS e.HIERARCHY_REQUEST_ERR is 3
PASS e.code is 3
PASS e.name is "HierarchyRequestError"
-PASS e.message is "HierarchyRequestError: DOM Exception 3"
+PASS e.message is "A Node was inserted somewhere it doesn't belong."
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/dom/DOMException/prototype-object.html ('k') | LayoutTests/fast/dom/DOMException/resources/XPathException.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698