summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2022-05-03 09:06:23 -0500
committerMatt A. Tobin <email@mattatobin.com>2022-05-03 09:06:29 -0500
commit775e9995eb4ad713de1ed80175532d4342515da7 (patch)
tree0e77f10aaae8b3dbc24b2d8e8e7d47b3596a8036
parent2befdee733af9b781768f2712c84ab9a3729a8ab (diff)
downloadaura-central-775e9995eb4ad713de1ed80175532d4342515da7.tar.gz
[Components:Addons] Remove run phase property and constants from XPIProvider.jsm
These were introduced in Bug 853388 for the sole purpose of tracking the current startup phase for telemetry
-rw-r--r--components/addons/src/XPIProvider.jsm12
1 files changed, 0 insertions, 12 deletions
diff --git a/components/addons/src/XPIProvider.jsm b/components/addons/src/XPIProvider.jsm
index 0a81e01db..ed12659c9 100644
--- a/components/addons/src/XPIProvider.jsm
+++ b/components/addons/src/XPIProvider.jsm
@@ -202,14 +202,6 @@ const RESTARTLESS_TYPES = new Set([
"locale",
]);
-// Keep track of where we are in startup.
-// event happened during XPIDatabase.startup()
-const XPI_STARTING = "XPIStarting";
-// event happened after startup() but before the final-ui-startup event
-const XPI_BEFORE_UI_STARTUP = "BeforeFinalUIStartup";
-// event happened after final-ui-startup
-const XPI_AFTER_UI_STARTUP = "AfterFinalUIStartup";
-
const COMPATIBLE_BY_DEFAULT_TYPES = {
extension: true,
dictionary: true
@@ -1813,8 +1805,6 @@ this.XPIProvider = {
allAppGlobal: true,
// A string listing the enabled add-ons for annotating crash reports
enabledAddons: null,
- // Keep track of startup phases.
- runPhase: XPI_STARTING,
// Keep track of the newest file in each add-on, in case we want to
// report it.
_mostRecentlyModifiedFile: {},
@@ -1986,7 +1976,6 @@ this.XPIProvider = {
try {
logger.debug("startup");
- this.runPhase = XPI_STARTING;
this.installs = [];
this.installLocations = [];
this.installLocationsByName = {};
@@ -2155,7 +2144,6 @@ this.XPIProvider = {
}, "quit-application-granted", false);
this.extensionsActive = true;
- this.runPhase = XPI_BEFORE_UI_STARTUP;
}
catch (e) {
logger.error("startup failed", e);