layout/xul/crashtests/432068-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 <?xml version="1.0"?>
     3 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
     7 <hbox style="display: none;">
     8   <bindings xmlns="http://www.mozilla.org/xbl">
     9     <binding id="x">
    10       <content><listitem xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/></content>
    11     </binding>
    12   </bindings>
    13 </hbox>
    15 <script type="text/javascript">
    17 function boom()
    18 {
    19   document.getElementById("b").style.MozBinding = "url('#x')";
    21   // Flush layout.
    22   document.documentElement.boxObject.height;
    24   document.getElementById("listbox").removeChild(document.getElementById("c"));
    25 }
    27 </script>
    29 <listbox id="listbox"><listitem/><listitem id="b"/><listitem id="c"/></listbox>
    31 </window>

mercurial