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

Unified Diff: LayoutTests/fast/dom/DOMException/stack-trace.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/DOMException/stack-trace.html
diff --git a/LayoutTests/fast/dom/DOMException/stack-trace.html b/LayoutTests/fast/dom/DOMException/stack-trace.html
index 84ca4c26893fdb7d05a00dfdd01ea30ac9484651..1f94a71f59292bf44316ccf7870e2ba14668cb4a 100644
--- a/LayoutTests/fast/dom/DOMException/stack-trace.html
+++ b/LayoutTests/fast/dom/DOMException/stack-trace.html
@@ -35,9 +35,9 @@ shouldBeTrue('e.stack.contains("innerFunction")');
shouldBeTrue('e.stack.contains("outerFunction")');
shouldBeEqualToString('Object.prototype.toString.call(e)', '[object DOMException]');
-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('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.");
shouldBe('e.code', '3');
e.stack = 42;

Powered by Google App Engine
This is Rietveld 408576698