dom/xbl/crashtests/406900-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 <?xml version="1.0"?>
     2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     3 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     4         xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     5         onload="boom();">
     7 <bindings xmlns="http://www.mozilla.org/xbl">
     8   <binding id="lit">
     9     <content>
    10       <children>
    11         <xul:hbox/>
    12       </children>
    13     </content>
    14   </binding>
    15 </bindings>
    17 <script type="text/javascript"> 
    19 function boom()
    20 {
    21   var x = document.getElementById("x");
    22   var anon = document.getAnonymousNodes(x)[0];
    23   document.documentElement.removeChild(x);
    24   document.documentElement.appendChild(x);
    25   var hbox = document.createElement('hbox');
    26   anon.appendChild(hbox);
    27 }
    29 </script>
    31 <hbox id="x" style="-moz-binding: url(#lit)" />
    33 </window>

mercurial