Files
serenity/Tests/LibWeb/Text/input/select-options-limit.html
Colin Reeder 8908038f96 LibWeb: Add support for indexed setter of HTMLOptionsCollection
(cherry picked from commit 99824eae142b02c7bce84b9e98d10fc6428f31fe)
2024-07-21 11:29:07 -04:00

12 lines
259 B
HTML

<select id="select"></select>
<script src="include.js"></script>
<script>
test(() => {
const select = document.getElementById("select");
select.options[100000] = new Option("0");
println(select.options.length);
});
</script>