layout/xul/crashtests/329477-1.xhtml

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <head>
     4 <script>
     6 <![CDATA[
     9 function init() 
    10 { 
    11   var textbox = document.getElementsByTagName("textbox")[0];
    12   var hbox = SpecialPowers.wrap(document).getAnonymousNodes(textbox)[0];
    13   var menupopup = SpecialPowers.wrap(document).getAnonymousNodes(hbox)[1];
    15   menupopup.click();
    16 }
    18 window.addEventListener("load", init, false);
    20 ]]>
    21 </script>
    23 </head>
    25 <body>
    28   <textbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/>
    30 </body>
    31 </html>

mercurial