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

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

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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/DOMException/prototype-object-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/DOMException/prototype-object.html
diff --git a/LayoutTests/fast/dom/DOMException/prototype-object.html b/LayoutTests/fast/dom/DOMException/prototype-object.html
index 0d9ab2d716b79368b9feb483614e7b1d53a9f298..a20fd9b1942494c238d3b80597a5fa10103c4250 100644
--- a/LayoutTests/fast/dom/DOMException/prototype-object.html
+++ b/LayoutTests/fast/dom/DOMException/prototype-object.html
@@ -12,7 +12,7 @@ try {
e = err;
}
-shouldBeEqualToString("e.toString()", "HierarchyRequestError: Failed to execute 'appendChild' on 'ContainerNode': The new child element contains the parent.");
+shouldBeEqualToString("e.toString()", "HierarchyRequestError: Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");
shouldBeEqualToString("Object.prototype.toString.call(e)", "[object DOMException]");
shouldBeEqualToString("Object.prototype.toString.call(e.__proto__)", "[object DOMExceptionPrototype]");
shouldBeEqualToString("Object.prototype.toString.call(e.__proto__.__proto__)", "[object Error]");
@@ -24,7 +24,7 @@ shouldBe("e.HIERARCHY_REQUEST_ERR", "e.constructor.HIERARCHY_REQUEST_ERR");
shouldBe("e.HIERARCHY_REQUEST_ERR", "3");
shouldBe("e.code", "3");
shouldBeEqualToString("e.name", "HierarchyRequestError");
-shouldBeEqualToString("e.message", "Failed to execute 'appendChild' on 'ContainerNode': The new child element contains the parent.");
+shouldBeEqualToString("e.message", "Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");
</script>
<script src="../../js/resources/js-test-post.js"></script>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/DOMException/prototype-object-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698