edItem("op3"), select.children[2]);

  assert_equals(select.op4, undefined);
  assert_false("op4" in select);
  assert_equals(select.namedItem("op4"), select.children[2]);
}, "Option with name and id")

test(function() {
  var select = document.getElementById("select");
  assert_equals(select[""], undefined);
  assert_false("" in select);
  assert_equals(select.namedItem(""), null);
}, "Empty string name");
</script>
