1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/extensions/test/xpinstall/installchrome.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 1.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1.6 + 1.7 +<html> 1.8 + 1.9 +<!-- This page will accept a url as the uri query and pass it to InstallTrigger.installChrome --> 1.10 + 1.11 +<head> 1.12 +<title>InstallTrigger tests</title> 1.13 +<script type="text/javascript"> 1.14 +function startInstall() { 1.15 + InstallTrigger.installChrome(InstallTrigger.SKIN, 1.16 + decodeURIComponent(document.location.search.substring(1)), 1.17 + "test"); 1.18 +} 1.19 +</script> 1.20 +</head> 1.21 +<body onload="startInstall()"> 1.22 +<p>InstallTrigger tests</p> 1.23 +</body> 1.24 +</html>