Bug 1887774 pass a track to EnsureAudioProcessing() r=pehrsons
[gecko.git] / dom / xul / crashtests / 329982-1.xhtml
blob43f374a57edd8b63938d5e114a79727b9b8c473e
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
4 <script>
6 function init()
8 var A = document.getElementById("z");
9 var B = A.nextSibling;
10 var C = B.nextSibling;
11 var P = A.parentNode;
13 document.addEventListener("DOMNodeRemoved", fizzy, false);
14 P.removeChild(B);
15 document.removeEventListener("DOMNodeRemoved", fizzy, false);
17 function fizzy()
19 document.removeEventListener("DOMNodeRemoved", fizzy, false); // avoid recursion
20 P.removeChild(A);
23 document.documentElement.appendChild(C);
27 window.addEventListener("load", init, false);
29 </script>
31 </head>
33 <body>
35 <hbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
37 <menupopup y="x"> <menuitem id="z"/> <menuitem/> <menuitem/> </menupopup>
39 </hbox>
41 </body>
42 </html>