Index: LayoutTests/fast/dom/incompatible-operations.html |
diff --git a/LayoutTests/fast/dom/incompatible-operations.html b/LayoutTests/fast/dom/incompatible-operations.html |
index 7fca59c213a6ab4de79f8fea09b1db460645eab0..7263ecc0913e19019717c73f3077d319eceff367 100644 |
--- a/LayoutTests/fast/dom/incompatible-operations.html |
+++ b/LayoutTests/fast/dom/incompatible-operations.html |
@@ -34,8 +34,8 @@ shouldThrow("aNode.appendChild('knort')", '"TypeError: Failed to execute \'appen |
shouldThrow("aNode.appendChild(void 0)", '"TypeError: Failed to execute \'appendChild\' on \'Node\': parameter 1 is not of type \'Node\'."'); |
-shouldBeFalse("aNode.isSameNode(aDOMImplementation)"); |
-shouldBeFalse("aNode.isSameNode('foo')"); |
+shouldThrow("aNode.isSameNode(aDOMImplementation)"); |
+shouldThrow("aNode.isSameNode('foo')"); |
shouldBeFalse("aNode.isSameNode(void 0)"); |
shouldBe("aNode.lookupPrefix(aDOMImplementation)", "null"); |
shouldBe("aNode.lookupPrefix(void 0)", "null"); |