layout/xul/tree/crashtests/391178-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" class="reftest-wait">
     2 <head>
     3 <script>
     5 var ccc;
     7 function boom()
     8 {
     9   var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
    11   var hbox = document.createElementNS(XUL_NS, 'hbox');
    12   var tree = document.createElementNS(XUL_NS, 'tree');
    13   var treecol = document.createElementNS(XUL_NS, 'treecol');
    15   ccc = document.getElementById("ccc");
    17   ccc.style.position = "fixed";
    19   hbox.appendChild(treecol);
    20   tree.appendChild(hbox);
    21   ccc.appendChild(tree);
    23   setTimeout(boom2, 200);
    24 }
    26 function boom2()
    27 {
    28   ccc.style.position = "";
    29   document.documentElement.removeAttribute("class");
    30 }
    32 </script>
    33 </head>
    35 <body onload="boom();">
    37 <div id="ccc">
    38 </div>
    40 </body>
    41 </html>

mercurial