1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/base/crashtests/593302-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 + <head> 1.7 + <script type="text/javascript"> 1.8 + function boom() 1.9 + { 1.10 + iframe = document.getElementById("iframe"); 1.11 + iframeBody = iframe.contentDocument.body; 1.12 + iframeBody.appendChild(makeNamedSpan("w")); 1.13 + remove(iframe); 1.14 + iframeBody.appendChild(makeNamedSpan("w")); 1.15 + remove(iframeBody); 1.16 + document.documentElement.className = ""; 1.17 + } 1.18 + 1.19 + function makeNamedSpan(i) 1.20 + { 1.21 + var s = document.createElement("span"); 1.22 + s.id = i; 1.23 + return s; 1.24 + } 1.25 + 1.26 + function remove(n) { n.parentNode.removeChild(n); } 1.27 + </script> 1.28 + </head> 1.29 + <body onload="boom();"> 1.30 + <iframe id="iframe" src="data:text/html,S"></iframe> 1.31 + </body> 1.32 +</html>