toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<!--
     1.5 +  Any copyright is dedicated to the Public Domain.
     1.6 +  http://creativecommons.org/publicdomain/zero/1.0/
     1.7 +-->
     1.8 +<html>
     1.9 +  <head>
    1.10 +    <title>Plugin Clear Site Data clear by domain test</title>
    1.11 +
    1.12 +    <embed id="plugin1" type="application/x-test" width="200" height="200"></embed>
    1.13 +
    1.14 +    <script type="application/javascript">
    1.15 +      function testSteps()
    1.16 +      {
    1.17 +        var p = document.getElementById("plugin1");
    1.18 +
    1.19 +        p.setSitesWithData(
    1.20 +          "foo.com:0:0," +
    1.21 +          "bar.foo.com:0:0," +
    1.22 +          "baz.foo.com:0:0," +
    1.23 +          "bar.com:1:0," +
    1.24 +          "[192.168.1.1]:0:0," +
    1.25 +          "localhost:0:0"
    1.26 +        );
    1.27 +
    1.28 +        setTimeout(testFinishedCallback, 0);
    1.29 +      }
    1.30 +    </script>
    1.31 +  </head>
    1.32 +
    1.33 +  <body onload="testSteps();"></body>
    1.34 +
    1.35 +</html>

mercurial