layout/xul/crashtests/329477-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/xul/crashtests/329477-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.5 +<head>
     1.6 +
     1.7 +<script>
     1.8 +
     1.9 +<![CDATA[
    1.10 +
    1.11 +
    1.12 +function init() 
    1.13 +{ 
    1.14 +  var textbox = document.getElementsByTagName("textbox")[0];
    1.15 +  var hbox = SpecialPowers.wrap(document).getAnonymousNodes(textbox)[0];
    1.16 +  var menupopup = SpecialPowers.wrap(document).getAnonymousNodes(hbox)[1];
    1.17 +
    1.18 +  menupopup.click();
    1.19 +}
    1.20 +
    1.21 +window.addEventListener("load", init, false);
    1.22 +
    1.23 +]]>
    1.24 +</script>
    1.25 +
    1.26 +</head>
    1.27 +
    1.28 +<body>
    1.29 +
    1.30 +
    1.31 +  <textbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/>
    1.32 +
    1.33 +</body>
    1.34 +</html>

mercurial