content/base/crashtests/535926-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/535926-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<html class="reftest-wait">
     1.5 +<head>
     1.6 +
     1.7 +<script type="text/javascript">
     1.8 +
     1.9 +var i = 0;
    1.10 +function mmf()
    1.11 +{
    1.12 +  if (++i == 2) {
    1.13 +    document.body.innerHTML = "<marquee>";
    1.14 +    document.documentElement.removeAttribute("class");
    1.15 +  }
    1.16 +}
    1.17 +
    1.18 +function init()
    1.19 +{
    1.20 +  document.documentElement.offsetHeight;
    1.21 +  for (var j = 0; j < 2; ++j) {
    1.22 +    var iframe = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
    1.23 +    iframe.addEventListener("load", mmf, false);
    1.24 +    document.body.appendChild(iframe);
    1.25 +  }
    1.26 +}
    1.27 +
    1.28 +</script>
    1.29 +</head>
    1.30 +<body onload="setTimeout(init, 0);"></body>
    1.31 +</html>

mercurial