summaryrefslogtreecommitdiffstats
path: root/toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html')
-rw-r--r--toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html b/toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html
new file mode 100644
index 000000000..b2bba12ce
--- /dev/null
+++ b/toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html
@@ -0,0 +1,30 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<html>
+ <head>
+ <title>Plugin Clear Site Data clear by domain test</title>
+
+ <embed id="plugin1" type="application/x-test" width="200" height="200"></embed>
+
+ <script type="application/javascript">
+ function testSteps()
+ {
+ var p = document.getElementById("plugin1");
+
+ p.setSitesWithData(
+ "foo.com:0:0," +
+ "bar.foo.com:0:0," +
+ "baz.foo.com:0:0," +
+ "bar.com:1:0," +
+ "[192.168.1.1]:0:0," +
+ "localhost:0:0"
+ );
+ }
+ </script>
+ </head>
+
+ <body></body>
+
+</html>