summaryrefslogtreecommitdiff
path: root/dom/base/crashtests/344434-1.xhtml
blob: 28c5fc0e49237430fe14d025e09bdd18ac291a6d (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
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">

<head>
<script>

var XUL_NS = 'http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul';

function foopy()
{
  document.getElementsByTagName("div")[0].appendChild(document.createElement("div"));
  document.body.appendChild(document.createElementNS(XUL_NS, "toolbarpalette"))
  document.body.appendChild(document.createElementNS(XUL_NS, "toolbar"))
  
  document.documentElement.removeAttribute("class");
}

</script>
</head>

<body onload="setTimeout(foopy, 30);">
  <div>A</div>
</body>

</html>