content/base/crashtests/458637-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/458637-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +<html class="reftest-wait">
     1.5 +<head>
     1.6 +<script type="text/javascript">
     1.7 +
     1.8 +var iterations = 0;
     1.9 +var start = new Date();
    1.10 +
    1.11 +function boom()
    1.12 +{
    1.13 +  document.getElementById("i").style.overflow = "scroll";
    1.14 +  document.getElementById("i").src = document.getElementById("i").src;
    1.15 +  setTimeout(boom2, 10); // must be a short timeout
    1.16 +}
    1.17 +
    1.18 +function boom2()
    1.19 +{
    1.20 +  document.getElementById("i").style.overflow = "";
    1.21 +  var now = new Date();
    1.22 +  if (++iterations < 20 && now - start < 5000)
    1.23 +    setTimeout(boom, 10);
    1.24 +  else
    1.25 +    document.documentElement.removeAttribute("class");
    1.26 +}
    1.27 +
    1.28 +</script>
    1.29 +</head>
    1.30 +
    1.31 +<body onload="boom();"><iframe id="i" src="458637-1-inner.xhtml" style="visibility: collapse;"></iframe></body>
    1.32 +</html>

mercurial