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

Unified Diff: LayoutTests/fast/dom/incompatible-operations.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
Index: LayoutTests/fast/dom/incompatible-operations.html
diff --git a/LayoutTests/fast/dom/incompatible-operations.html b/LayoutTests/fast/dom/incompatible-operations.html
index e484d54cd05c5400fba9fd9a295c200429d46ae9..aea2a61c32a384ce2816d2fd003fe20d5a1a8874 100644
--- a/LayoutTests/fast/dom/incompatible-operations.html
+++ b/LayoutTests/fast/dom/incompatible-operations.html
@@ -28,11 +28,11 @@ var aNode = document.createElement("div");
var aSecondNode = document.createElement("div");
aNode.appendChild(aSecondNode);
-shouldThrow("aNode.appendChild(aDOMImplementation)", '"NotFoundError: Failed to execute \'appendChild\' on \'ContainerNode\': The new child element is null."');
+shouldThrow("aNode.appendChild(aDOMImplementation)", '"NotFoundError: Failed to execute \'appendChild\' on \'Node\': The new child element is null."');
-shouldThrow("aNode.appendChild('knort')", '"NotFoundError: Failed to execute \'appendChild\' on \'ContainerNode\': The new child element is null."');
+shouldThrow("aNode.appendChild('knort')", '"NotFoundError: Failed to execute \'appendChild\' on \'Node\': The new child element is null."');
-shouldThrow("aNode.appendChild(void 0)", '"NotFoundError: Failed to execute \'appendChild\' on \'ContainerNode\': The new child element is null."');
+shouldThrow("aNode.appendChild(void 0)", '"NotFoundError: Failed to execute \'appendChild\' on \'Node\': The new child element is null."');
shouldBeFalse("aNode.isSameNode(aDOMImplementation)");
shouldBeFalse("aNode.isSameNode('foo')");

Powered by Google App Engine
This is Rietveld 408576698