Index: LayoutTests/fast/events/mutation-during-insert-before.html |
diff --git a/LayoutTests/fast/events/mutation-during-insert-before.html b/LayoutTests/fast/events/mutation-during-insert-before.html |
index 04781cbb8aab7ea3290ef0ea41b0245e823c41fe..ff964d591ec6b938bc5e0501ebfa58e3d8d2da2b 100644 |
--- a/LayoutTests/fast/events/mutation-during-insert-before.html |
+++ b/LayoutTests/fast/events/mutation-during-insert-before.html |
@@ -16,7 +16,7 @@ var listener = function() { |
child.appendChild(newparent); |
}; |
document.addEventListener("DOMNodeRemoved", listener, false); |
-shouldThrow("newparent.insertBefore(child, beforeChild);", "'Error: HierarchyRequestError: DOM Exception 3'"); |
+shouldThrow("newparent.insertBefore(child, beforeChild);", "'HierarchyRequestError: A Node was inserted somewhere it doesn\\'t belong.'"); |
</script> |
<script src="../js/resources/js-test-post.js"></script> |
</body> |