layout/base/crashtests/403175-1.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:41ab2097d1aa
1 <html class="reftest-wait">
2 <head>
3 <script>
4
5 var i = 0;
6
7 function boom()
8 {
9 ++i;
10
11 while (document.body.firstChild)
12 document.body.removeChild(document.body.firstChild);
13
14 var table = document.createElement("table");
15 document.body.appendChild(table);
16 document.documentElement.style.color = (i % 2) ? "red" : "magenta";
17 table.setAttribute("align", "right");
18
19 setTimeout(boom, 15);
20 }
21
22 function cont()
23 {
24 document.documentElement.removeAttribute("class");
25 }
26
27 </script>
28 </head>
29 <body onload="boom(); setTimeout(cont, 1000);"></body>
30 </html>

mercurial