4 <script src=
"../../../resources/js-test.js"></script>
8 <option value=
"a">A
</option>
9 <option value=
"b">B
</option>
11 <div id=
"console"></div>
14 description("https://bugs.webkit.org/show_bug.cgi?id=85937 - [Chromium][Forms] HTMLOptionsCollection doesn't have indexed properties on property enumeration");
16 var select1
= document
.getElementById("select1");
17 var options
= select1
.options
;
18 for (var propertyKey
in options
) {
19 properties
[propertyKey
] = options
[propertyKey
];
21 shouldBeEqualToString('properties[0].value', "a");
22 shouldBeEqualToString('properties[1].value', "b");