1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/735943.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 +<head> 1.7 +<script> 1.8 + 1.9 +var asvg = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><script xlink:href="data:text/javascript," /><rect width="100" height="100" fill="green"><set attributeName="fill" attributeType="CSS" to="red" begin="0s" end="2s" dur="2s" fill="remove" /></rect></svg>'; 1.10 + 1.11 +function boom() 1.12 +{ 1.13 + var f = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe"); f.src = "data:text/html,1"; document.body.appendChild(f); 1.14 + var w; 1.15 + 1.16 + setTimeout(function() { 1.17 + w = window.open("data:text/html,<body onload=window.close()>", "_blank", "width=200,height=200"); 1.18 + // Note that most of the code below will execute before the window appears, and in fact before "w" becomes non-null. 1.19 + }, 0); 1.20 + 1.21 + setTimeout(function() { 1.22 + setTimeout(function() { }, 0); 1.23 + f.contentWindow.location = "data:image/svg+xml," + encodeURIComponent(asvg); 1.24 + 1.25 + setTimeout(function() { 1.26 + setTimeout(function() { 1.27 + setTimeout(function() { 1.28 + document.body.style.MozColumnCount = "2"; 1.29 + document.documentElement.className = ""; 1.30 + }, 20); 1.31 + }, 0); 1.32 + }, 0); 1.33 + }, 20); 1.34 +} 1.35 + 1.36 + window.addEventListener("MozReftestInvalidate", boom, false); 1.37 +</script> 1.38 +</head> 1.39 + 1.40 +<body></body> 1.41 +</html>