layout/base/crashtests/414175-1.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <xul xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
     3 <script type="text/javascript">
     5 function boom()
     6 {
     7   var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
     9   var oldListbox = document.getElementById("oldListbox");
    10   var listitem = document.getElementById("listitem");
    11   var newListbox = document.createElementNS(XUL_NS, "listbox");
    12   var newHbox = document.createElementNS(XUL_NS, "hbox");
    14   oldListbox.appendChild(newListbox);
    15   listitem.appendChild(newHbox);
    17   newListbox.style.display = "inline";
    18   oldListbox.style.display = "block";
    19   newHbox.style.display = "inline";
    20 }
    22 </script>
    24 <listbox id="oldListbox"><listitem id="listitem" /></listbox>
    26 </xul>

mercurial