Index: third_party/WebKit/LayoutTests/fast/dom/Selection/missing-arguments.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Selection/missing-arguments.html b/third_party/WebKit/LayoutTests/fast/dom/Selection/missing-arguments.html |
index 7a6fced71d4c1f9e8e9fd419f1cab85e65f17ed3..22762386abff5cb102c50011e50d00d9a0acf713 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/Selection/missing-arguments.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/Selection/missing-arguments.html |
@@ -6,9 +6,14 @@ |
<body> |
<script> |
var selection = getSelection(); |
+var node = document.body; |
shouldThrow("selection.addRange()"); |
shouldThrow("selection.getRangeAt()"); |
shouldThrow("selection.selectAllChildren()"); |
+shouldThrow("selection.setBaseAndExtent()"); |
+shouldThrow("selection.setBaseAndExtent(node)"); |
+shouldThrow("selection.setBaseAndExtent(node, 0)"); |
+shouldThrow("selection.setBaseAndExtent(node, 0, node)"); |
</script> |
</body> |
</html> |