1<p>This test shouldn't crash when you pick something from select, even though it removes itself.
2</p>
3<select id="foo" onchange='sel.parentNode.removeChild(sel)'>
4<option>Boom</option>
5<option>Shouldn't crash when you pick this.</option>
6</select>
7<script>
8var sel = document.getElementById("foo");
9</script>