browser/base/content/test/plugins/browser_clearplugindata_noage.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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 without age</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 disabled.
    15         var p = document.getElementById("plugin1");
    16         p.setSitesWithDataCapabilities(false);
    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