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