content/base/crashtests/628599-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>
     6 var w;
     8 function b1()
     9 {
    10   w = window.open("404.gif", "w2", "f");
    11   setTimeout(b2, 1200);
    12 }
    14 function b2()
    15 {
    16   w.close();
    17   setTimeout(b3, 500);
    18 }
    20 function b3()
    21 {
    22   w.location = "data:text/html,2";
    23   document.body.appendChild(document.createTextNode("Done"));
    24 }
    26 </script>
    27 </head>
    28 <body>
    29 <div><button onclick="b1();">Start test</button></div>
    30 </body>
    31 </html>

mercurial