browser/components/extensions/test/browser/file_clearplugindata.html
author Bob Silverberg <bsilverberg@mozilla.com>
Mon, 19 Dec 2016 16:55:02 -0500
changeset 377745 95426f1151bcfe155c32bb7b4af580012d04fe3b
parent 375089 browser/base/content/test/plugins/browser_clearplugindata.html@06698dfb37848558b9edaa6fb947bab0259fa3d9
child 391133 69800debbe54f118693ad697b823ad7266232957
permissions -rw-r--r--
Bug 1321303 - Part 6: Implement browsingData.removePluginData, r=mak MozReview-Commit-ID: EpHceeFKMf7

<!--
  Any copyright is dedicated to the Public Domain.
  http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
  <head>
    <title>Plugin Clear Site Data sanitize test</title>

    <embed id="plugin1" type="application/x-test" width="200" height="200"></embed>

  </head>

  <body></body>

  <script type="application/javascript">
    "use strict";

    // Make sure clearing by timerange is supported.
    let p = document.getElementById("plugin1");
    p.setSitesWithDataCapabilities(true);

    p.setSitesWithData(
      "foo.com:0:5," +
      "bar.com:0:100," +
      "baz.com:1:5," +
      "qux.com:1:100"
    );
  </script>

</html>