browser/base/content/test/plugins/browser_clearplugindata.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 <!--
     2   Any copyright is dedicated to the Public Domain.
     3   http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <html>
     6   <head>
     7     <title>Plugin Clear Site Data sanitize test</title>
     9     <embed id="plugin1" type="application/x-test" width="200" height="200"></embed>
    11     <script type="application/javascript">
    12       function testSteps()
    13       {
    14         // Make sure clearing by timerange is supported.
    15         var p = document.getElementById("plugin1");
    16         p.setSitesWithDataCapabilities(true);
    18         p.setSitesWithData(
    19           "foo.com:0:5," +
    20           "bar.com:0:100," +
    21           "baz.com:1:5," +
    22           "qux.com:1:100"
    23         );
    25         setTimeout(testFinishedCallback, 0);
    26       }
    27     </script>
    28   </head>
    30   <body onload="testSteps();"></body>
    32 </html>

mercurial