Index: LayoutTests/fast/dom/Node/script-tests/contains-method.js |
diff --git a/LayoutTests/fast/dom/Node/script-tests/contains-method.js b/LayoutTests/fast/dom/Node/script-tests/contains-method.js |
index 99c74177d446a3ae5cd8c0922dd4176ab124908f..a8dc2183743a684483a13bd03f0bad7e14f38eb6 100644 |
--- a/LayoutTests/fast/dom/Node/script-tests/contains-method.js |
+++ b/LayoutTests/fast/dom/Node/script-tests/contains-method.js |
@@ -14,7 +14,7 @@ shouldBeTrue("document.contains(test1TextChild)"); |
shouldBeTrue("document.contains(document)"); |
shouldBeTrue("test1.contains(test1)"); |
shouldBeTrue("test1TextChild.contains(test1TextChild)"); |
-shouldBeFalse("test1.contains(123)"); |
+shouldThrow("test1.contains(123)"); |
shouldBeFalse("test1.contains(null)"); |
// Cross document tests |