blob: 0e2342bed3a3e8b24ab047f8f4fd69ea84ef445b [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="../js/resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("This test verifies that the HTMLCollection getters on document return the same object when called repeatedly.");
var collections = [ "all", "images", "embeds", "plugins", "applets", "links", "forms", "anchors", "scripts" ];
for (i = 0; i < collections.length; ++i) {
var collection = collections[i];
shouldBe("document." + collection + " === document." + collection, "true");
}
</script>
<script src="../js/resources/js-test-post.js"></script>
</body>
</html>