summaryrefslogtreecommitdiffstats
path: root/dom/xslt/tests/buster/install.js
blob: 0306db69212568a031d1030b70ec3330db98cd71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const X_APP             = "Buster";
const X_VER             = "2.0"
const X_JAR_FILE        = "xslt-qa.jar";

var err = initInstall("Install " + X_APP, X_APP, X_VER);
logComment("initInstall: " + err);
logComment( "Installation started ..." );
addFile("We're on our way ...", X_JAR_FILE, getFolder("chrome"), "");
registerChrome(CONTENT|DELAYED_CHROME, getFolder("chrome", X_JAR_FILE), "content/xslt-qa/");
err = getLastError();
if (err == SUCCESS)  {
  performInstall();
  alert("Please restart Mozilla");
}
else  {
  cancelInstall();
}