layout/base/crashtests/403175-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/403175-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +<html class="reftest-wait">
     1.5 +<head>
     1.6 +<script>
     1.7 +
     1.8 +var i = 0;
     1.9 +
    1.10 +function boom()
    1.11 +{
    1.12 +  ++i;
    1.13 +  
    1.14 +  while (document.body.firstChild)
    1.15 +    document.body.removeChild(document.body.firstChild);
    1.16 +
    1.17 +  var table = document.createElement("table");
    1.18 +  document.body.appendChild(table);
    1.19 +  document.documentElement.style.color = (i % 2) ? "red" : "magenta";
    1.20 +  table.setAttribute("align", "right");
    1.21 +  
    1.22 +  setTimeout(boom, 15);
    1.23 +}
    1.24 +
    1.25 +function cont()
    1.26 +{
    1.27 +  document.documentElement.removeAttribute("class");
    1.28 +}
    1.29 +
    1.30 +</script>
    1.31 +</head>
    1.32 +<body onload="boom(); setTimeout(cont, 1000);"></body>
    1.33 +</html>

mercurial