summaryrefslogtreecommitdiffstats
path: root/layout/xul/crashtests/329477-1.xhtml
blob: fcbd3da872cc881d3d4bc177d53b785024b22b25 (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
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<script>

<![CDATA[


function init() 
{ 
  var textbox = document.getElementsByTagName("textbox")[0];
  var hbox = SpecialPowers.wrap(document).getAnonymousNodes(textbox)[0];
  var menupopup = SpecialPowers.wrap(document).getAnonymousNodes(hbox)[1];

  menupopup.click();
}

window.addEventListener("load", init, false);

]]>
</script>

</head>

<body>


  <textbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/>

</body>
</html>