Index: LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js |
diff --git a/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js b/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js |
index da925280051e197e1af5c9ea4a25b41b96ec3a5f..4ad94c552fc1f1aeeef26824b479fe9669625ae5 100644 |
--- a/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js |
+++ b/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js |
@@ -1,3 +1,3 @@ |
description('Test behavior of Document.replaceChild() when oldChild is null.'); |
-shouldThrow('document.replaceChild(document.firstChild, null)', '"Error: NotFoundError: DOM Exception 8"'); |
+shouldThrow('document.replaceChild(document.firstChild, null)', '"NotFoundError: An attempt was made to reference a Node in a context where it does not exist."'); |