2 <script type="text/javascript">
\r
5 var doc = document.getElementById("container");
\r
6 doc.innerHTML = "<form name=\"gaga\"><input type=\"radio\" name=\"asdf\" id=\"chk\" value=\"A\"> Checkbox 1" +
\r
7 "<input type=\"radio\" name=\"asdf\" value=\"B\"> Checkbox 2";
\r
8 document.getElementById("chk").checked = true;
\r
12 var doc = document.getElementById("container");
\r
13 doc.innerHTML = "hello, world";
\r
18 function runTest() {
\r
25 setTimeout("runTest()", 10);
\r
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>
\r
30 <input type="button" onclick="runTest()" value="Run Test">
\r
31 <div id="container"/>
\r