layout/xul/crashtests/329477-1.xhtml

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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