1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/base/crashtests/330925-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 + 1.6 +<head> 1.7 + 1.8 +<script> 1.9 + 1.10 +function init() 1.11 +{ 1.12 + var foopy = document.getElementById("foopy"); 1.13 + var emb = document.getElementById("emb"); 1.14 + 1.15 + try { 1.16 + foopy.appendChild(SpecialPowers.unwrap(SpecialPowers.wrap(document).getAnonymousNodes(emb))[0]); 1.17 + emb.parentNode.removeChild(emb); 1.18 + foopy.parentNode.removeChild(foopy); 1.19 + } catch (e) { 1.20 + } 1.21 + 1.22 + document.documentElement.removeAttribute("class"); 1.23 +} 1.24 + 1.25 + 1.26 +window.addEventListener("load", function() { setTimeout(init, 30); }, false); 1.27 + 1.28 +</script> 1.29 + 1.30 +</head> 1.31 +<body> 1.32 + 1.33 +<div id="foopy"/> 1.34 + 1.35 +<embed src="data:foo/bar,baz" id="emb" /> 1.36 + 1.37 +</body> 1.38 +</html>