content/html/document/crashtests/631421.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     4 <script>
     5 "use strict";
     7 var f2;
     9 function newIframe()
    10 {
    11   var f = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
    12   f.setAttributeNS(null, "src", "631421.png");
    13   document.body.appendChild(f);
    14   return f;
    15 }
    17 function b1()
    18 {
    19   void newIframe();
    20   f2 = newIframe();
    21   setTimeout(b2, 0);
    22 }
    24 function b2()
    25 {
    26   document.body.removeChild(f2);
    27   document.documentElement.removeAttribute("class");
    28 }
    30 </script>
    31 </head>
    33 <body onload="b1();"></body>
    34 </html>

mercurial