1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/xbl/crashtests/342954-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xbl="http://www.mozilla.org/xbl"> 1.5 + 1.6 + 1.7 +<head> 1.8 + 1.9 +<script> 1.10 +<![CDATA[ 1.11 + 1.12 +function boo() 1.13 +{ 1.14 + s1 = document.getElementById("s1"); 1.15 + marq = document.getElementById("marq"); 1.16 + marqAnonymousSomething = document.getAnonymousNodes(marq)[0].childNodes[0]; 1.17 + 1.18 + removeNode(marqAnonymousSomething); 1.19 + s1.appendChild(document.createElement("div")); 1.20 +} 1.21 + 1.22 +function removeNode(q1) { q1.parentNode.removeChild(q1); } 1.23 + 1.24 +]]> 1.25 +</script> 1.26 + 1.27 +<xbl:bindings id="marqueeBindings"> 1.28 + <xbl:binding id="marquee-horizontal-12"> 1.29 + <xbl:content> 1.30 + <div> 1.31 + <xbl:children/> 1.32 + </div> 1.33 + </xbl:content> 1.34 + </xbl:binding> 1.35 +</xbl:bindings> 1.36 + 1.37 +</head> 1.38 + 1.39 + 1.40 +<body onload="boo()"> 1.41 + 1.42 +<span id="s1">Span</span> 1.43 + 1.44 +<div id="marq" style="-moz-binding: url('#marquee-horizontal-12');">Marquee</div> 1.45 + 1.46 +</body> 1.47 + 1.48 + 1.49 +</html>