layout/base/crashtests/403175-1.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <html class="reftest-wait">
     2 <head>
     3 <script>
     5 var i = 0;
     7 function boom()
     8 {
     9   ++i;
    11   while (document.body.firstChild)
    12     document.body.removeChild(document.body.firstChild);
    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");
    19   setTimeout(boom, 15);
    20 }
    22 function cont()
    23 {
    24   document.documentElement.removeAttribute("class");
    25 }
    27 </script>
    28 </head>
    29 <body onload="boom(); setTimeout(cont, 1000);"></body>
    30 </html>

mercurial