content/html/document/crashtests/631421.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/html/document/crashtests/631421.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +<script>
     1.8 +"use strict";
     1.9 +
    1.10 +var f2;
    1.11 +
    1.12 +function newIframe()
    1.13 +{
    1.14 +  var f = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
    1.15 +  f.setAttributeNS(null, "src", "631421.png");
    1.16 +  document.body.appendChild(f);
    1.17 +  return f;
    1.18 +}
    1.19 +
    1.20 +function b1()
    1.21 +{
    1.22 +  void newIframe();
    1.23 +  f2 = newIframe();
    1.24 +  setTimeout(b2, 0);
    1.25 +}
    1.26 +
    1.27 +function b2()
    1.28 +{
    1.29 +  document.body.removeChild(f2);
    1.30 +  document.documentElement.removeAttribute("class");
    1.31 +}
    1.32 +
    1.33 +</script>
    1.34 +</head>
    1.35 +
    1.36 +<body onload="b1();"></body>
    1.37 +</html>

mercurial