5 <script src=
"../../resources/js-test.js"></script>
8 <table><tr><td></td></tr></table>
9 <map><area></area></map>
10 <select><option></option></select>
13 description("This test verifies that collection getters return the same collection when called repeatedly.");
24 "document.getElementsByTagName('table')[0].rows[0].cells",
25 "document.getElementsByTagName('table')[0].tBodies",
26 "document.getElementsByTagName('table')[0].tBodies[0].rows",
27 "document.body.children",
28 "document.getElementsByTagName('map')[0].areas",
29 "document.getElementsByTagName('select')[0].options"
32 for (var i
= 0; i
< collections
.length
; ++i
) {
33 shouldBe(collections
[i
], collections
[i
]);
34 shouldBeTrue(collections
[i
] + " === " + collections
[i
]);