WebCore/manual-tests/remove-select-onchange.html
changeset 0 4f2f89ce4247
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WebCore/manual-tests/remove-select-onchange.html	Fri Sep 17 09:02:29 2010 +0300
@@ -0,0 +1,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>
\ No newline at end of file