mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 17:37:00 +02:00
This test case would previously crash. Found with domato. (cherry picked from commit 0cec68ea996623ee652900986c7232c8d538a209)
13 lines
347 B
HTML
13 lines
347 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const select = document.createElement("select");
|
|
const option = document.createElement("option");
|
|
println(select.length);
|
|
select.add(option);
|
|
println(select.length);
|
|
select.length = 0;
|
|
println(select.length);
|
|
});
|
|
</script>
|