summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/344882-1.html
blob: 6a8dd69d5bc9caeab48ac5cb5dbd192214fd44ec (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
29
30
31
32
33
<html class="reftest-wait">
<head>
<script>
var obj;

function boo()
{
  obj = document.getElementById("obj");
  setScriptSrc();
}

function setScriptSrc()
{
  obj.data = "javascript:setScriptSrc2();";
}

function setScriptSrc2() 
{
  obj.data = "javascript:void 0";

  document.documentElement.removeAttribute("class");
}

</script>
</head>

<body onload="setTimeout(boo, 30);">

<object data="../../../testing/crashtest/images/tree.gif" id="obj">

</body>

</html>