summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/403175-1.html
blob: a1c02a55396fe35bc8892bfd447044c7d6e9e65e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html class="reftest-wait">
<head>
<script>

var i = 0;

function boom()
{
  ++i;
  
  while (document.body.firstChild)
    document.body.firstChild.remove();

  var table = document.createElement("table");
  document.body.appendChild(table);
  document.documentElement.style.color = (i % 2) ? "red" : "magenta";
  table.setAttribute("align", "right");
  
  setTimeout(boom, 15);
}

function cont()
{
  document.documentElement.removeAttribute("class");
}

</script>
</head>
<body onload="boom(); setTimeout(cont, 1000);"></body>
</html>