summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/webextensions/test/browser/discovery_install.html
blob: c6499ec0353691438f1bae003d0c01fb07e6c49a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
<head>
<script type="text/javascript">
/* globals InstallTrigger */
function install() {
  InstallTrigger.install({
    "Test Add-on": {
      URL: "https://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/amosigned.xpi"
    }
  });
}
</script>
</head>
<body>
  <h1>Test page for the discovery pane</h1>
  <p><a id="install-direct" href="https://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/amosigned.xpi">Direct install</a></p>
  <p><a id="install-js" href="javascript:install()">JS install</a></p>
</body>
</html>