Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / content / xbl / crashtests / 382376-1.xhtml
blob55457f79e2a23bd4ca1043ae1bb2d7d0e9fcdf2f
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
2 <head>
3 <script>
5 function boom1()
7 var c = document.getElementById("c");
8 c.style.MozBinding = "url('#foo')";
10 setTimeout(boom2, 30);
13 function boom2()
15 var v = document.getElementById("v");
16 v.parentNode.removeChild(v);
17 document.documentElement.removeAttribute("class");
20 </script>
22 <bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo">
23 <content>x x x x x <children/></content>
24 </binding></bindings>
26 </head>
28 <body style="font-family: monospace; width: 10ch;" onload="setTimeout(boom1, 30);">
30 <div style="background: lightblue; border: 1px solid blue; margin-bottom: 1em;">
31 <span id="c">y y<span id="v">Z<div/></span></span>
32 </div>
34 <div style="background: lightgreen; border: 1px solid green; height: 2000px;">s</div>
36 </body>
37 </html>