WebCore/manual-tests/remove-select-onchange.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 09:02:29 +0300
changeset 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037

<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>