1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/smil/crashtests/590425-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 +<head> 1.7 +<script> 1.8 + 1.9 +function boom() 1.10 +{ 1.11 + var frame = document.getElementById("frame") 1.12 + var frameSVG = frame.contentDocument.getElementById('s'); 1.13 + var animate = frame.contentDocument.createElementNS("http://www.w3.org/2000/svg", "animate"); 1.14 + frame.parentNode.removeChild(frame); 1.15 + frameSVG.appendChild(animate); 1.16 + document.documentElement.removeAttribute("class"); 1.17 +} 1.18 + 1.19 +</script> 1.20 +</head> 1.21 + 1.22 +<body onload="boom()"> 1.23 + 1.24 +<iframe id="frame" src="data:text/html,%3Cbody%3E%3Csvg id=s%3E"></iframe> 1.25 + 1.26 +</body> 1.27 +</html>