1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/xbl/crashtests/493123-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 +<head> 1.6 + 1.7 +<bindings xmlns="http://www.mozilla.org/xbl"> 1.8 + <binding id="a"><content></content></binding> 1.9 + <binding id="b"><content><style xmlns="http://www.w3.org/1999/xhtml" style="display: none;">* { overflow: hidden; }</style><children xmlns="http://www.mozilla.org/xbl"/></content></binding> 1.10 +</bindings> 1.11 + 1.12 +<script type="text/javascript" style="display: none"> 1.13 + 1.14 +function one() 1.15 +{ 1.16 + while (document.documentElement.firstChild) document.documentElement.removeChild(document.documentElement.firstChild) 1.17 + document.documentElement.style.MozBinding = 'url("#a")'; 1.18 + setTimeout(two, 1); 1.19 +} 1.20 + 1.21 +function two() 1.22 +{ 1.23 + document.documentElement.style.MozBinding = 'url("#b")'; 1.24 + setTimeout(three, 1); 1.25 +} 1.26 + 1.27 +function three() 1.28 +{ 1.29 + document.documentElement.style.MozBinding = 'url("#a")'; 1.30 + document.documentElement.removeAttribute("class"); 1.31 +} 1.32 + 1.33 +</script> 1.34 +</head> 1.35 + 1.36 +<body onload="one();"></body> 1.37 +</html>