Index: LayoutTests/fast/dom/Selection/missing-arguments.html |
diff --git a/LayoutTests/fast/dom/Selection/missing-arguments.html b/LayoutTests/fast/dom/Selection/missing-arguments.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7a6fced71d4c1f9e8e9fd419f1cab85e65f17ed3 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/Selection/missing-arguments.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script src="../../../resources/js-test.js"></script> |
+</head> |
+<body> |
+<script> |
+var selection = getSelection(); |
+shouldThrow("selection.addRange()"); |
+shouldThrow("selection.getRangeAt()"); |
+shouldThrow("selection.selectAllChildren()"); |
+</script> |
+</body> |
+</html> |