summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/535926-1.html
blob: bddd8dc286213b1af41ea7b190170e4cf47a17fc (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
<html class="reftest-wait">
<head>

<script type="text/javascript">

var i = 0;
function mmf()
{
  if (++i == 2) {
    document.body.innerHTML = "<marquee>";
    document.documentElement.removeAttribute("class");
  }
}

function init()
{
  document.documentElement.offsetHeight;
  for (var j = 0; j < 2; ++j) {
    var iframe = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
    iframe.addEventListener("load", mmf, false);
    document.body.appendChild(iframe);
  }
}

</script>
</head>
<body onload="setTimeout(init, 0);"></body>
</html>