ladybird/Tests/LibWeb/Crash/HTML/reset-form-iteration.html
Andreas Kling a0b44ff5e7 LibWeb: Iterate over a copy of associated form controls in form.reset()
DOM structure may change during reset algorithm invocation, which may
lead to form controls being unregistered.
2025-01-21 17:02:51 +01:00

4 lines
91 B
HTML

<form id="theForm"><output><input></output></form>
<script>
theForm.reset();
</script>