| <script src="../../resources/js-test-pre.js"></script> |
| <table><tr><td></td></tr></table> |
| <select><option></option></select> |
| description("This test verifies that collection getters return the same collection when called repeatedly."); |
| "document.getElementsByTagName('table')[0].rows[0].cells", |
| "document.getElementsByTagName('table')[0].tBodies", |
| "document.getElementsByTagName('table')[0].tBodies[0].rows", |
| "document.body.children", |
| "document.getElementsByTagName('map')[0].areas", |
| "document.getElementsByTagName('select')[0].options" |
| for (var i = 0; i < collections.length; ++i) { |
| shouldBe(collections[i], collections[i]); |
| shouldBeTrue(collections[i] + " === " + collections[i]); |
| <script src="../../resources/js-test-post.js"></script> |