| Index: ManualTests/remove-form-node-with-radio-buttons-crash.html
|
| diff --git a/ManualTests/remove-form-node-with-radio-buttons-crash.html b/ManualTests/remove-form-node-with-radio-buttons-crash.html
|
| index 298da5a20acfe30894369b09a07d6a333b1b95b6..c2d85ded2ca0ca0aa5bdb12fa98435f36e73c482 100644
|
| --- a/ManualTests/remove-form-node-with-radio-buttons-crash.html
|
| +++ b/ManualTests/remove-form-node-with-radio-buttons-crash.html
|
| @@ -1,33 +1,33 @@
|
| -<html>
|
| -<script type="text/javascript">
|
| -
|
| -function load1() {
|
| - 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;
|
| -}
|
| -
|
| -function load2() {
|
| - var doc = document.getElementById("container");
|
| - doc.innerHTML = "hello, world";
|
| -}
|
| -
|
| -var ctr = 0;
|
| -
|
| -function runTest() {
|
| - if (ctr % 2 == 0) {
|
| - load1();
|
| - } else {
|
| - load2();
|
| - }
|
| - ctr++;
|
| - setTimeout("runTest()", 10);
|
| -}
|
| -</script>
|
| -<body>
|
| -<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">
|
| -<div id="container"/>
|
| -
|
| -</body></html>
|
| +<html>
|
| +<script type="text/javascript">
|
| +
|
| +function load1() {
|
| + 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;
|
| +}
|
| +
|
| +function load2() {
|
| + var doc = document.getElementById("container");
|
| + doc.innerHTML = "hello, world";
|
| +}
|
| +
|
| +var ctr = 0;
|
| +
|
| +function runTest() {
|
| + if (ctr % 2 == 0) {
|
| + load1();
|
| + } else {
|
| + load2();
|
| + }
|
| + ctr++;
|
| + setTimeout("runTest()", 10);
|
| +}
|
| +</script>
|
| +<body>
|
| +<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">
|
| +<div id="container"/>
|
| +
|
| +</body></html>
|
|
|