5 <script src=
"../../resources/js-test.js"></script>
10 description("This tests verifies that calling document.all(name, index) doesn't affect subsequent calls to document.all.item(index)");
12 shouldBe("document.all.item(0)", "document.documentElement");
13 debug("Calling document.all('foo', 0).");
14 document
.all('foo', 0)
15 shouldBe("document.all.item(0)", "document.documentElement");