content/base/crashtests/330925-1.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     3 <head>
     5 <script>
     7 function init()
     8 {
     9   var foopy = document.getElementById("foopy");
    10   var emb = document.getElementById("emb");
    12   try {  
    13     foopy.appendChild(SpecialPowers.unwrap(SpecialPowers.wrap(document).getAnonymousNodes(emb))[0]);
    14     emb.parentNode.removeChild(emb);
    15     foopy.parentNode.removeChild(foopy);
    16   } catch (e) {
    17   }
    19   document.documentElement.removeAttribute("class");
    20 }
    23 window.addEventListener("load", function() { setTimeout(init, 30); }, false);
    25 </script>
    27 </head>
    28 <body> 
    30 <div id="foopy"/>
    32 <embed src="data:foo/bar,baz" id="emb" />
    34 </body>
    35 </html>

mercurial