toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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 clear by domain 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         var p = document.getElementById("plugin1");
    16         p.setSitesWithData(
    17           "foo.com:0:0," +
    18           "bar.foo.com:0:0," +
    19           "baz.foo.com:0:0," +
    20           "bar.com:1:0," +
    21           "[192.168.1.1]:0:0," +
    22           "localhost:0:0"
    23         );
    25         setTimeout(testFinishedCallback, 0);
    26       }
    27     </script>
    28   </head>
    30   <body onload="testSteps();"></body>
    32 </html>

mercurial