1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/xbl/crashtests/382376-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 +<head> 1.6 +<script> 1.7 + 1.8 +function boom1() 1.9 +{ 1.10 + var c = document.getElementById("c"); 1.11 + c.style.MozBinding = "url('#foo')"; 1.12 + 1.13 + setTimeout(boom2, 30); 1.14 +} 1.15 + 1.16 +function boom2() 1.17 +{ 1.18 + var v = document.getElementById("v"); 1.19 + v.parentNode.removeChild(v); 1.20 + document.documentElement.removeAttribute("class"); 1.21 +} 1.22 + 1.23 +</script> 1.24 + 1.25 +<bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo"> 1.26 + <content>x x x x x <children/></content> 1.27 +</binding></bindings> 1.28 + 1.29 +</head> 1.30 + 1.31 +<body style="font-family: monospace; width: 10ch;" onload="setTimeout(boom1, 30);"> 1.32 + 1.33 +<div style="background: lightblue; border: 1px solid blue; margin-bottom: 1em;"> 1.34 + <span id="c">y y<span id="v">Z<div/></span></span> 1.35 +</div> 1.36 + 1.37 +<div style="background: lightgreen; border: 1px solid green; height: 2000px;">s</div> 1.38 + 1.39 +</body> 1.40 +</html>