2 <script type=
"text/javascript">
5 var doc
= document
.getElementById("container");
6 doc
.innerHTML
= "<form name=\"gaga\"><input type=\"radio\" name=\"asdf\" id=\"chk\" value=\"A\"> Checkbox 1" +
7 "<input type=\"radio\" name=\"asdf\" value=\"B\"> Checkbox 2";
8 document
.getElementById("chk").checked
= true;
12 var doc
= document
.getElementById("container");
13 doc
.innerHTML
= "hello, world";
25 setTimeout("runTest()", 10);
29 <div>This is a test for http://bugs.webkit.org/show_bug.cgi?id=
12938 - to test this, press the
"Run Test" button and wait for a couple of minutes - the browser should not crash.
</div>
30 <input type=
"button" onclick=
"runTest()" value=
"Run Test">