Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 4 | --> |
michael@0 | 5 | <html> |
michael@0 | 6 | <head> |
michael@0 | 7 | <title>Plugin Clear Site Data clear by domain test</title> |
michael@0 | 8 | |
michael@0 | 9 | <embed id="plugin1" type="application/x-test" width="200" height="200"></embed> |
michael@0 | 10 | |
michael@0 | 11 | <script type="application/javascript"> |
michael@0 | 12 | function testSteps() |
michael@0 | 13 | { |
michael@0 | 14 | var p = document.getElementById("plugin1"); |
michael@0 | 15 | |
michael@0 | 16 | p.setSitesWithData( |
michael@0 | 17 | "foo.com:0:0," + |
michael@0 | 18 | "bar.foo.com:0:0," + |
michael@0 | 19 | "baz.foo.com:0:0," + |
michael@0 | 20 | "bar.com:1:0," + |
michael@0 | 21 | "[192.168.1.1]:0:0," + |
michael@0 | 22 | "localhost:0:0" |
michael@0 | 23 | ); |
michael@0 | 24 | |
michael@0 | 25 | setTimeout(testFinishedCallback, 0); |
michael@0 | 26 | } |
michael@0 | 27 | </script> |
michael@0 | 28 | </head> |
michael@0 | 29 | |
michael@0 | 30 | <body onload="testSteps();"></body> |
michael@0 | 31 | |
michael@0 | 32 | </html> |