layout/xul/crashtests/344228-1.xul

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 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(boom, 30);" class="reftest-wait">
     3 <script>
     5 function remove(q1) { q1.parentNode.removeChild(q1); } 
     7 function boom()
     8 {
     9   var x = document.getElementById("x");
    10   var y = document.getElementById("y");
    11   remove(x);
    12   remove(y);
    14   document.documentElement.removeAttribute("class");
    15 }
    17 </script>
    19 <tree>
    20   <treechildren id="y"/>
    21   <richlistbox>
    22     <hbox id="x"/>
    23     <menulist/>
    24   </richlistbox>
    25 </tree>
    27 </window>

mercurial