From deea787c2efbb9c89caec8d9efc023ffafe75613 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 10 Feb 2018 04:00:58 -0500 Subject: Import Tycho's Add-on Manager --- .../mozapps/extensions/test/addons/test_bug655254_2/bootstrap.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 toolkit/mozapps/extensions/test/addons/test_bug655254_2/bootstrap.js (limited to 'toolkit/mozapps/extensions/test/addons/test_bug655254_2/bootstrap.js') diff --git a/toolkit/mozapps/extensions/test/addons/test_bug655254_2/bootstrap.js b/toolkit/mozapps/extensions/test/addons/test_bug655254_2/bootstrap.js new file mode 100644 index 000000000..b79648e89 --- /dev/null +++ b/toolkit/mozapps/extensions/test/addons/test_bug655254_2/bootstrap.js @@ -0,0 +1,9 @@ +Components.utils.import("resource://gre/modules/Services.jsm"); + +function startup(data, reason) { + Services.prefs.setIntPref("bootstraptest.active_version", 1); +} + +function shutdown(data, reason) { + Services.prefs.setIntPref("bootstraptest.active_version", 0); +} -- cgit v1.2.3