Index: LayoutTests/editing/selection/selectAllChildren.html |
diff --git a/LayoutTests/editing/selection/selectAllChildren.html b/LayoutTests/editing/selection/selectAllChildren.html |
index 3fb94f40d062a746863aa4dc572374aa999375e3..85767cf2e41e15696845337e55d58368733c9c34 100644 |
--- a/LayoutTests/editing/selection/selectAllChildren.html |
+++ b/LayoutTests/editing/selection/selectAllChildren.html |
@@ -39,9 +39,9 @@ s.selectAllChildren(test); |
shouldBe('window.getSelection().toString()', '"foobar"'); |
// call with types other than Node |
-shouldNotThrow('s.selectAllChildren(null)'); |
-shouldNotThrow('s.selectAllChildren(window)'); |
-shouldNotThrow('s.selectAllChildren("")'); |
+shouldThrow('s.selectAllChildren(null)'); |
+shouldThrow('s.selectAllChildren(window)'); |
+shouldThrow('s.selectAllChildren("")'); |
</script> |
</body> |
</html> |