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 4c7ac04f7df1f252830a619c992001f571b229d8..fcb430524934cd32c2cf5234d6e8aaa0a989ad5b 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 'Node': The new child element contains the parent."); |
+shouldBeEqualToString("e.toString()", "HierarchyRequestError: Failed to execute 'appendChild' on 'Node': Nodes of type '#document' may not be inserted inside nodes of type '#document'."); |
shouldBeEqualToString('e.name', 'HierarchyRequestError'); |
-shouldBeEqualToString("e.message", "Failed to execute 'appendChild' on 'Node': The new child element contains the parent."); |
+shouldBeEqualToString("e.message", "Failed to execute 'appendChild' on 'Node': Nodes of type '#document' may not be inserted inside nodes of type '#document'."); |
shouldBe('e.code', '3'); |
e.stack = 42; |