content/base/crashtests/395469-2.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>
     4 <bindings xmlns="http://www.mozilla.org/xbl"><binding id="empty"><content></content></binding></bindings>
     6 <style>
     8 .bef:before { content: counter(c); }
    10 .fl:first-letter { }
    12 </style>
    14 <script>
    16 var xblize, div;
    18 function boom()
    19 {
    20   xblize = document.getElementById("xblize");
    21   div = document.getElementById("div");
    23   xblize.style.MozBinding = "url('#empty')";
    25   // Give the XBL extra time to settle
    26   setTimeout(boom2, 200);
    27 }
    29 function boom2()
    30 {
    31   div.removeChild(xblize);
    32   div.appendChild(xblize);
    34   document.documentElement.removeAttribute("class");
    35 }
    37 </script>
    38 </head>
    40 <body onload="boom();">
    42 <div class="fl" id="div"><span class="bef" id="xblize"></span><span class="bef"></span></div>
    44 </body>
    45 </html>

mercurial