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

changeset 1
ca08bd8f51b2
equal deleted inserted replaced
-1:000000000000 0:66acdf821bb3
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>
8
9 <embed id="plugin1" type="application/x-test" width="200" height="200"></embed>
10
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);
17
18 p.setSitesWithData(
19 "foo.com:0:5," +
20 "bar.com:0:100," +
21 "baz.com:1:5," +
22 "qux.com:1:100"
23 );
24
25 setTimeout(testFinishedCallback, 0);
26 }
27 </script>
28 </head>
29
30 <body onload="testSteps();"></body>
31
32 </html>

mercurial