content/base/crashtests/771639.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 <script>
     3 var root = document.documentElement;
     4 while(root.firstChild) { root.removeChild(root.firstChild); }
     5 var div = document.createElement("div");
     6 root.appendChild(div);
     8 document.addEventListener("DOMNodeRemoved", function() {
     9   root.appendChild(document.createTextNode("some mutation"));
    10 }, false);
    12 var range = document.createRange();
    13 range.setStart(root, 0);
    14 range.setEnd(root, root.childNodes.length);
    15 range.deleteContents();
    16 </script>

mercurial