summaryrefslogtreecommitdiffstats
path: root/browser/components/enterprisepolicies/tests/browser/extensionsettings.html
blob: da70ebdf59757b210aecb5a8475cdab567a1036b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script type="text/javascript">
function installTrigger(url) {
  try {
    InstallTrigger.install({extension: url});
  } catch (err) {
    dump(`Failed to execute InstallTrigger.install: ${err}\n`);
  }
  return false;
}
</script>
</head>
<body>
<p>
<a id="policytest" href="policytest_v0.1.xpi">policytest@mozilla.com</a>
</p>
<p>
<a id="policytest_installtrigger" onclick="return installTrigger(this.href);" href="policytest_v0.1.xpi">policytest@mozilla.com</a>
</p>
<p>
<a id="policytest_otherdomain" href="http://example.org:80/browser/browser/components/enterprisepolicies/tests/browser/policytest_v0.1.xpi">policytest@mozilla.com</a>
</p>
</body>
</html>