gecko/layout/xul/crashtests/329477-1.xhtml

32 lines
508 B
HTML
Raw Normal View History

2008-01-04 20:36:54 -08:00
<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];
2008-01-04 20:36:54 -08:00
menupopup.click();
}
window.addEventListener("load", init, false);
]]>
</script>
</head>
<body>
<textbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/>
</body>
</html>