dom/xbl/crashtests/415301-1.xul

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <?xml version="1.0"?>
     2 <?xml-stylesheet href="chrome://global/skin/global.css"?>
     4 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     5         xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     6         onload="boom();">
     9 <bindings xmlns="http://www.mozilla.org/xbl">
    11 <binding id="chil"><content><children/></content></binding>
    13 <binding id="ichil"><content>
    14 <xul:hbox style="-moz-binding: url(#chil)"><children/></xul:hbox>
    15 </content></binding>
    17 </bindings>
    20 <script type="text/javascript">
    22 function boom()
    23 {
    24   document.getElementById("inner").removeChild(document.getElementById("lbb"));
    25   document.getElementById("outer").style.MozBinding = "";
    26 }
    28 </script>
    31 <hbox id="outer" style="-moz-binding: url(#chil)"><hbox id="inner" style="-moz-binding: url(#ichil)"><listboxbody id="lbb" /></hbox></hbox>
    34 </window>

mercurial