gecko-dev/toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html

30 lines
680 B
HTML

<!--
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>