1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <script src=
"../../resources/js-test.js"></script>
15 description("This test checks that removing a <select> object from the DOM, then garbage collecting, then removing an option from select.options doesn't crash.");
17 var select
= document
.getElementById("myselect");
18 var options
= select
.options
;
19 select
.parentNode
.removeChild(select
);
22 // create lots of objects to force a garbage collection
31 testPassed("No crash");