Index: LayoutTests/fast/dom/incompatible-operations.html |
diff --git a/LayoutTests/fast/dom/incompatible-operations.html b/LayoutTests/fast/dom/incompatible-operations.html |
index 7b996522fd2f78093c71acaae6d8999f7bcd8264..3965a68b627f8032a164c86cc60e499416d2ad7a 100644 |
--- a/LayoutTests/fast/dom/incompatible-operations.html |
+++ b/LayoutTests/fast/dom/incompatible-operations.html |
@@ -28,11 +28,11 @@ var aNode = document.createElement("div"); |
var aSecondNode = document.createElement("div"); |
aNode.appendChild(aSecondNode); |
-shouldThrow("aNode.appendChild(aDOMImplementation)", "'Error: NotFoundError: DOM Exception 8'"); |
+shouldThrow("aNode.appendChild(aDOMImplementation)", "'NotFoundError: An attempt was made to reference a Node in a context where it does not exist.'"); |
-shouldThrow("aNode.appendChild('knort')", "'Error: NotFoundError: DOM Exception 8'"); |
+shouldThrow("aNode.appendChild('knort')", "'NotFoundError: An attempt was made to reference a Node in a context where it does not exist.'"); |
-shouldThrow("aNode.appendChild(void 0)", "'Error: NotFoundError: DOM Exception 8'"); |
+shouldThrow("aNode.appendChild(void 0)", "'NotFoundError: An attempt was made to reference a Node in a context where it does not exist.'"); |
shouldBeFalse("aNode.isSameNode(aDOMImplementation)"); |
shouldBeFalse("aNode.isSameNode('foo')"); |