diff options
Diffstat (limited to 'layout/xul/crashtests/329477-1.xhtml')
-rw-r--r-- | layout/xul/crashtests/329477-1.xhtml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/xul/crashtests/329477-1.xhtml b/layout/xul/crashtests/329477-1.xhtml new file mode 100644 index 000000000..fcbd3da87 --- /dev/null +++ b/layout/xul/crashtests/329477-1.xhtml @@ -0,0 +1,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> |