1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/xpconnect/crashtests/346512-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<head> 1.6 +<script> 1.7 +<![CDATA[ 1.8 +function foopy() 1.9 +{ 1.10 + var doc1 = document.getElementById("doc1").contentDocument; 1.11 + var doc2 = document.getElementById("doc2").contentDocument; 1.12 + 1.13 + var empty2 = doc2.getElementById("empty2"); 1.14 + var hbox1 = doc1.getElementById("movemychild").firstChild; 1.15 + var empty1 = doc1.getElementById("empty1"); 1.16 + 1.17 + aC(empty2, doc2.adoptNode(hbox1)); 1.18 + aC(empty1, doc1.adoptNode(empty2)); 1.19 +} 1.20 + 1.21 +function aC(q,r) { q.appendChild(r); } 1.22 + 1.23 +]]> 1.24 +</script> 1.25 +</head> 1.26 + 1.27 +<body onload="foopy();"> 1.28 + 1.29 +<iframe id="doc1" src="346512-1-frame1.xhtml" /> 1.30 +<iframe id="doc2" src="346512-1-frame2.xhtml" /> 1.31 + 1.32 +</body> 1.33 +</html>