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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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