Dactyloidae/toolkit/mozapps/extensions/test/addons/test_bug655254_2/bootstrap.js
2019-02-15 23:31:11 +08:00

9 lines
265 B
JavaScript

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);
}