1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/base/content/test/plugins/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 sanitize 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 + // Make sure clearing by timerange is supported. 1.18 + var p = document.getElementById("plugin1"); 1.19 + p.setSitesWithDataCapabilities(true); 1.20 + 1.21 + p.setSitesWithData( 1.22 + "foo.com:0:5," + 1.23 + "bar.com:0:100," + 1.24 + "baz.com:1:5," + 1.25 + "qux.com:1:100" 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>