5 testRunner
.dumpAsText();
7 document
.getElementById('container').innerHTML
= '';
8 document
.getElementById('radio').checked
= true;
11 <body onload=
"runTest()">
12 <div>This tests that destroying a checked radio button that does not have a form correctly removes the radio button element from the checked radio buttons map. This test should ideally be run with GuardMalloc or a similar memory checker.
</div>
13 <div>SUCCESS - Didn't crash!
</div>
14 <div id=
"container"><input name=
"a" type=
"radio" checked
></div>
15 <input name=
"a" id=
"radio" type=
"radio">