Index: LayoutTests/fast/events/mutation-during-replace-child.html |
diff --git a/LayoutTests/fast/events/mutation-during-replace-child.html b/LayoutTests/fast/events/mutation-during-replace-child.html |
index 4a5b32b0eb2cfec6ddfbd22dd25bc1ed94596056..1e1de1d608141adc0f95965299208913454ad39e 100644 |
--- a/LayoutTests/fast/events/mutation-during-replace-child.html |
+++ b/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);", "'Error: HierarchyRequestError: DOM Exception 3'"); |
+shouldThrow("target.replaceChild(newChild, oldChild);", "'HierarchyRequestError: A Node was inserted somewhere it doesn\\'t belong.'"); |
</script> |
<script src="../js/resources/js-test-post.js"></script> |
</body> |