gfx/tests/crashtests/393822-1.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 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     2 <head>
     3 <script>
     5 var ff;
     6 var jj;
     8 function boom()
     9 {
    10   ff = document.createElement("font");
    11   ff.setAttribute("size", "-2");
    12   ff.appendChild(document.createTextNode("G"));
    14   jj = document.getElementById("jj");
    16   jj.appendChild(ff);
    17   setTimeout(boom2, 30);
    18 }
    20 function boom2()
    21 {
    22   jj.removeChild(ff);
    24   document.documentElement.removeAttribute("class");
    25 }
    27 </script>
    28 </head>
    30 <body onload="boom();" dir="rtl"><div id="jj">h </div></body>
    32 </html>

mercurial