layout/base/crashtests/736924-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>
     3 <script>
     4 function boom()
     5 {
     6   var a = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
     7   var b = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
     8   var x = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
     9   var y = document.createElementNS("http://www.w3.org/1999/xhtml", "basefont");
    10   var z = document.createElementNS("http://www.w3.org/1999/xhtml", "body");
    11   z.setAttributeNS(null, "link", "#333333");
    13   document.documentElement.appendChild(a);
    14   b.appendChild(x);
    15   b.appendChild(y);
    16   document.documentElement.offsetHeight;
    17   a.appendChild(b);
    18   document.documentElement.offsetHeight;
    19   document.createElementNS("http://www.w3.org/1999/xhtml", "div").appendChild(y);
    20   b.appendChild(z);
    21 }
    22 </script>
    23 <body onload="boom();"></body>

mercurial