blob: 6d14657a588aa27363188cad42796d9ee67d92de [file] [log] [blame]
<!DOCTYPE html>
<html>
<head id="foo">
<meta charset="utf-8">
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("This tests verifies that calling document.all(name, index) doesn't affect subsequent calls to document.all.item(index)");
shouldBe("document.all.item(0)", "document.documentElement");
debug("Calling document.all('foo', 0).");
document.all('foo', 0)
shouldBe("document.all.item(0)", "document.documentElement");
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>