Index: third_party/WebKit/LayoutTests/fast/events/mutation-during-replace-child.html |
diff --git a/third_party/WebKit/LayoutTests/fast/events/mutation-during-replace-child.html b/third_party/WebKit/LayoutTests/fast/events/mutation-during-replace-child.html |
index 3f05fb751b335d8b2a179215cc55e8678dc35b28..21cb83f9814ac2f013225c43c9681bd5a52727b0 100644 |
--- a/third_party/WebKit/LayoutTests/fast/events/mutation-during-replace-child.html |
+++ b/third_party/WebKit/LayoutTests/fast/events/mutation-during-replace-child.html |
@@ -24,7 +24,7 @@ function handler(){ |
newChild.appendChild(target); |
} |
document.addEventListener("DOMNodeRemoved", handler, false); |
-shouldThrow("target.replaceChild(newChild, oldChild);", '"HierarchyRequestError: Failed to execute \'replaceChild\' on \'Node\': The new child element contains the parent."'); |
+shouldThrow("target.replaceChild(newChild, oldChild);", '"NotFoundError: Failed to execute \'replaceChild\' on \'Node\': The node to be removed is no longer a child of this node. Perhaps it was moved in response to a mutation?"'); |
</script> |
</body> |
</html> |