Adding XPInstall test public accessibility *** NOT PART OF BUILD ***

git-svn-id: svn://10.0.0.236/trunk@59688 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sgehani%netscape.com
2000-02-03 23:54:24 +00:00
parent da871750f5
commit 37ce64dd46
2 changed files with 38 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,38 @@
<HTML>
<HEAD>
<TITLE>XPInstall Pre-Checkin Trigger Test</TITLE>
<SCRIPT>
function xpinstallCallback(url, status)
{
if (status == 0)
msg = "XPInstall Test: PASSED\n";
else
msg = "XPInstall Test: FAILED\n";
dump(msg);
alert(msg);
}
function triggerXPI()
{
xpi = {"XPInstall Pre-Checkin Test":"pre_checkin.xpi"};
InstallTrigger.install(xpi, xpinstallCallback);
}
</SCRIPT>
</HEAD>
<BODY>
<H3>XPInstall Pre-Checkin Trigger Test</H3>
<HR>
Click on the link below to execute the XPInstall pre-checkin test. <BR>
The test result (PASS or FAIL) will pop up in an alert after the test completes. <P>
<A HREF="javascript:
xpi={'XPInstall Pre-Checkin Test':'pre_checkin.xpi'}; InstallTrigger.install(xpi,xpinstallCallback);
">Test XPInstall</A>
</BODY>
</HTML>