/** Test for Bug 699826 **/
HTMLCollection.prototype[0] = "PASSProto0";
HTMLCollection.prototype[1] = "PASSProto1"; var list = document.getElementsByTagName("testtag");
is(list[0], "PASSProto0", "Should expose proto properties on the list");
is(list[1], "PASSProto1", "Should expose more proto properties on the list");
var testtag = document.createElement("testtag");
document.body.appendChild(testtag);
is(list[0], testtag, "Should expose elements in the list");
is(list[1], "PASSProto1", "Should expose proto properties out of range on the list");
testtag.remove();
is(list[0], "PASSProto0", "Should expose proto properties on the list after removal");
is(list[1], "PASSProto1", "Should expose more proto properties on the list after removal");
</script>
</pre>
</body>
</html>
Messung V0.5
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.