content/html/document/crashtests/631421.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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