Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 const X_APP = "Buster";
2 const X_VER = "2.0"
3 const X_JAR_FILE = "xslt-qa.jar";
5 var err = initInstall("Install " + X_APP, X_APP, X_VER);
6 logComment("initInstall: " + err);
7 logComment( "Installation started ..." );
8 addFile("We're on our way ...", X_JAR_FILE, getFolder("chrome"), "");
9 registerChrome(CONTENT|DELAYED_CHROME, getFolder("chrome", X_JAR_FILE), "content/xslt-qa/");
10 err = getLastError();
11 if (err == SUCCESS) {
12 performInstall();
13 alert("Please restart Mozilla");
14 }
15 else {
16 cancelInstall();
17 }