summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/466945-1.html
blob: ac1ba29e36bd67a855d5fdb049c53a9b239ebc7f (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
<html class="reftest-wait">
<head>
<script type="text/javascript">

var s;

function boom()
{
  s = document.createElement("span");
  s.innerHTML = "<video src='data:text/html,' autoplay='autoplay'><\/video>";
  document.body.appendChild(document.createElement("iframe"));
  setTimeout(boom2, 0);
}

function boom2()
{
  s.innerHTML = "";
  document.documentElement.removeAttribute("class");
}

</script>
</head>

<body onload="setTimeout(boom, 0);"></body>
</html>