layout/xul/crashtests/432068-2.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 <script type="text/javascript">
     9 function boom()
    10 {
    11   var l = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listitem");
    12   l.style.display = "none";
    14   var c = document.getElementById("c");
    15   c.parentNode.insertBefore(l, c);
    17   document.getElementById("listbox").removeChild(document.getElementById("c"));
    18 }
    20 </script>
    22 <listbox id="listbox"><listitem/><listitem id="c"/></listbox>
    24 </window>

mercurial