layout/generic/crashtests/383089-1.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <html style="width: 1px;" class="reftest-wait"><head style="float: left; position: fixed; display: initial;" id="head">
     2 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
     6 <script style="display: none;" type="text/javascript;version=1.7">
     8 var iter;
     9 var interv;
    11 function olo()
    12 {
    13   iter = foo();
    14   interv = setInterval(neext, 30);
    15 }
    17 function neext()
    18 {
    19   try {
    20     iter.next();
    21   } catch (e if e instanceof StopIteration) {
    22     clearInterval(interv);
    23   }
    24 }
    26 function foo()
    27 {
    28   var docElem = document.documentElement;
    29   var head = document.getElementById("head");
    30   var br1 = document.getElementById("br1");
    31   var br2 = document.getElementById("br2");
    32   var br3 = document.getElementById("br3");
    33   var br4 = document.getElementById("br4");
    34   var br5 = document.getElementById("br5");
    35   var br6 = document.getElementById("br6");
    36   var br7 = document.getElementById("br7");
    37   var tableRow = document.getElementById("tableRow");
    39   br6.style.width = "1px";
    40   br1.style.overflow = "visible";
    41   head.style.cssFloat = "left";
    42   br4.style.position = "static";
    43   br7.style.color = "green";
    44   br3.style.height = "auto";
    45   yield;
    47   br7.style.width = "2px";
    48   yield;
    50   br5.style.background = "yellow";
    51   br7.style.color = "black";
    52   yield;
    54   br7.style.display = "table-cell";
    55   head.style.position = "fixed";
    56   br5.style.display = "inline";
    57   br3.style.clear = "both";
    58   br6.style.visibility = "visible";
    59   yield;
    61   tableRow.style.display = "list-item";
    62   br3.style.width = "auto";
    63   br2.style.clear = "none";
    64   head.style.display = "initial"; // doesn't seem to crash when this is "block"!
    65   docElem.style.width = "1px";
    67   document.documentElement.removeAttribute("class");
    68 }
    70 </script>
    72 <style>
    73 </style>
    75 </head><body onload="setTimeout(olo, 30);">
    77 <br style="overflow: visible;" id="br1">
    78 <br style="clear: none;" id="br2">
    79 <br style="height: auto; clear: both; width: auto;" id="br3">
    80 <br style="position: static;" id="br4">
    81 <br style="background: yellow none repeat scroll 0% 0%; background-clip: initial; background-origin: initial; -moz-background-inline-policy: initial; display: inline;" id="br5">
    82 <br style="width: 1px; visibility: visible;" id="br6">
    83 <br style="color: black; width: 2px; display: table-cell;" id="br7">
    84 <table border="1"><tbody><tr style="display: list-item;" id="tableRow"><td>x</td></tr></tbody></table>
    86 </body></html>

mercurial