
  assert_false("op1" in select);
  assert_equals(select.namedItem("op1"), select.children[0]);
}, "Option with id")

test(function() {
  var select = document.getElementById("select");
  assert_equals(select.op2, undefined);
  assert_false("op2" in select);
  assert_equals(select.namedItem("op2"), select.children[1]);
}, "Option with name")

test(function() {
  var select = document.getElementById("select");
  assert_equals(select.op3, undefined);
  assert_false("op3" in select);
  assert_equals(select.nam