3 <script src=
"../../../resources/js-test.js"></script>
8 <select id=
"ids1" name=
"name1"><option selected
>FAILURE
</option></select>
9 <select id=
"ids1" name=
"name2"><option selected
>FAILURE
</option></select>
13 description("Test using id in HTMLFormCollection");
15 var elems
= document
.getElementById("idf1").elements
;
16 shouldBe('elems["ids1"][1].getAttribute("name")', '"name2"');