summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/remove-select-onchange.html
blob: 51004b5797ab0c89bf45b5272f96a299bf4b2e60 (plain)
1
2
3
4
5
6
7
8
9
<p>This test shouldn't crash when you pick something from select, even though it removes itself.
</p>
<select id="foo" onchange='sel.parentNode.removeChild(sel)'>
<option>Boom</option>
<option>Shouldn't crash when you pick this.</option>
</select>
<script>
var sel = document.getElementById("foo");
</script>