dom/xbl/crashtests/382376-1.xhtml

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:52335e1540f6
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
2 <head>
3 <script>
4
5 function boom1()
6 {
7 var c = document.getElementById("c");
8 c.style.MozBinding = "url('#foo')";
9
10 setTimeout(boom2, 30);
11 }
12
13 function boom2()
14 {
15 var v = document.getElementById("v");
16 v.parentNode.removeChild(v);
17 document.documentElement.removeAttribute("class");
18 }
19
20 </script>
21
22 <bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo">
23 <content>x x x x x <children/></content>
24 </binding></bindings>
25
26 </head>
27
28 <body style="font-family: monospace; width: 10ch;" onload="setTimeout(boom1, 30);">
29
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>
33
34 <div style="background: lightgreen; border: 1px solid green; height: 2000px;">s</div>
35
36 </body>
37 </html>

mercurial