Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / content / xbl / crashtests / 406900-1.xul
blob3b3dc1f87040d9682fea8034824521d94e071e80
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()
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);
29 </script>
31 <hbox id="x" style="-moz-binding: url(#lit)" />
33 </window>