Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 Components.utils.import("resource://gre/modules/Services.jsm");
3 function install(data, reason) {
4 Services.prefs.setIntPref("bootstraptest.installed_version", 3);
5 Services.prefs.setIntPref("bootstraptest.install_reason", reason);
6 }
8 function startup(data, reason) {
9 Services.prefs.setIntPref("bootstraptest.active_version", 3);
10 Services.prefs.setIntPref("bootstraptest.startup_reason", reason);
11 }
13 function shutdown(data, reason) {
14 Services.prefs.setIntPref("bootstraptest.active_version", 0);
15 Services.prefs.setIntPref("bootstraptest.shutdown_reason", reason);
16 }
18 function uninstall(data, reason) {
19 Services.prefs.setIntPref("bootstraptest.installed_version", 0);
20 Services.prefs.setIntPref("bootstraptest.uninstall_reason", reason);
21 }