WebCore/manual-tests/remove-select-onchange.html
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     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>
       
     8 var sel = document.getElementById("foo");
       
     9 </script>