author | Aryeh Gregor <ayg@aryeh.name> |
Thu, 12 Jan 2012 10:17:39 -0700 | |
changeset 688 | abb6e4cc12ec |
parent 687 | 0ef300a5c14f |
child 689 | f4ad311eb645 |
selecttest/extend.html |
--- a/selecttest/extend.html Thu Jan 12 10:10:06 2012 -0700 +++ b/selecttest/extend.html Thu Jan 12 10:17:39 2012 -0700 @@ -94,13 +94,6 @@ var node = extendTarget[0]; var offset = extendTarget[1]; - if (node === null) { - assert_throws("TYPE_MISMATCH_ERR", function() { - selection.extend(node, offset); - }, "extend(null, foo) must throw TYPE_MISMATCH_ERR"); - return; - } - if (selection.rangeCount == 0) { assert_throws("INVALID_STATE_ERR", function() { selection.extend(node, offset);