summaryrefslogtreecommitdiffstats
path: root/dom/xslt/tests/buster/install.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xslt/tests/buster/install.js')
-rw-r--r--dom/xslt/tests/buster/install.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/xslt/tests/buster/install.js b/dom/xslt/tests/buster/install.js
new file mode 100644
index 000000000..0306db692
--- /dev/null
+++ b/dom/xslt/tests/buster/install.js
@@ -0,0 +1,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();
+}