summaryrefslogtreecommitdiff
path: root/layout/base/crashtests/344340-1.xul
blob: 8a54f759acab77d023892ecc1ceaab3fa03c0c99 (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
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(foopy, 30);" class="reftest-wait">

<script>

<![CDATA[

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

function foopy()
{
  var hbox = document.createElementNS(XUL_NS, 'hbox');
  var tooltip = document.createElementNS(XUL_NS, 'tooltip');
  var vbox = document.createElementNS(XUL_NS, 'vbox');
  var toolbarspring = document.createElementNS(XUL_NS, 'toolbarspring');
  
  document.documentElement.appendChild(hbox);
  hbox.appendChild(toolbarspring);

  vbox.appendChild(tooltip);
  toolbarspring.appendChild(vbox);
  
  document.documentElement.removeAttribute("class");
}

]]>
</script>

</window>