diff options
Diffstat (limited to 'toolkit/mozapps/webextensions/test/xpinstall/bug540558.html')
-rw-r--r-- | toolkit/mozapps/webextensions/test/xpinstall/bug540558.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/toolkit/mozapps/webextensions/test/xpinstall/bug540558.html b/toolkit/mozapps/webextensions/test/xpinstall/bug540558.html new file mode 100644 index 000000000..286046d25 --- /dev/null +++ b/toolkit/mozapps/webextensions/test/xpinstall/bug540558.html @@ -0,0 +1,23 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html> + +<!-- This page tests that window.InstallTrigger.install works --> + +<head> +<title>InstallTrigger tests</title> +<script type="text/javascript"> +function startInstall() { + window.InstallTrigger.install({ + "Unsigned XPI": "amosigned.xpi" + }); +} +</script> +</head> +<body onload="startInstall()"> +<p>InstallTrigger tests</p> +<p id="return"></p> +<p id="status"></p> +</body> +</html> |