content/base/crashtests/420620-1.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <script type="text/javascript">
     6 function boom()
     7 {
     8   var a = document.documentElement;
     9   var b = document.body;
    11   document.removeChild(a);
    12   b.contentEditable = "true";
    13   document.appendChild(a);
    15   function t() {
    16     document.removeEventListener("DOMAttrModified", t, false);
    17     document.removeChild(a);
    18   } 
    20   document.addEventListener("DOMAttrModified", t, false);
    21   document.execCommand("insertunorderedlist", false, "<h1>");
    22   document.removeEventListener("DOMAttrModified", t, false);
    23 }
    25 </script>
    26 </head>
    28 <body onload="boom()"></body>
    29 </html>

mercurial