layout/base/crashtests/467881-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 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     4 <script>
     6 function boom()
     7 {
     8   var HTML_NS = "http://www.w3.org/1999/xhtml";
     9   var outer, inner, q;
    11   function a()
    12   {
    13     outer = document.createElementNS(HTML_NS, "div");
    14     inner = document.createElementNS(HTML_NS, "div");
    16 		inner.appendChild(document.createElementNS(HTML_NS, "iframe"));
    17 		inner.appendChild(document.createElementNS(HTML_NS, "div"));
    18 		inner.appendChild(q = document.createElementNS(HTML_NS, "span"));
    20 		outer.appendChild(inner);
    21 		document.documentElement.appendChild(outer);
    22     setTimeout(b, 10);
    23   }
    25   function b()
    26   {
    27     outer.appendChild(document.createElementNS(HTML_NS, "span"));
    28     setTimeout(c, 10);
    29   }
    31   function c()
    32   {
    33     q.appendChild(document.createElementNS(HTML_NS, "div"));
    34     document.documentElement.removeAttribute("class");
    35   }
    37   a();
    38 }
    40 window.addEventListener("load", boom, false);
    42 </script>
    43 </head>
    45 <frameset></frameset>
    47 </html>

mercurial