mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 06:14:58 +00:00
12 lines
397 B
HTML
12 lines
397 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
let select = document.createElement("select");
|
|
let option = document.createElement("option");
|
|
option.setAttribute("selected", "selected");
|
|
option.setAttribute("value", "foo");
|
|
select.appendChild(option);
|
|
select.value = "foo";
|
|
println("PASS"); // Didn't crash
|
|
});
|
|
</script>
|