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

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

Issue 24982002: Clean up ContainerNode exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline. Created 7 years, 3 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 e0764483d1f121c2fe5e3e21d6c068ec24c6a258..be6610b354dd8272b695d495b003523ec3f6c401 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 "HierarchyRequestError: Failed to execute 'appendChild' on 'ContainerNode': The new child element contains the parent."
+PASS e.toString() is "HierarchyRequestError: Failed to execute 'appendChild' on 'Node': The new child element contains the parent."
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 "Failed to execute 'appendChild' on 'ContainerNode': The new child element contains the parent."
+PASS e.message is "Failed to execute 'appendChild' on 'Node': The new child element contains the parent."
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/dom/DOMException/prototype-object.html ('k') | LayoutTests/fast/dom/DOMException/stack-trace.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698