Bug 1627040 - Check for corrupt JARs later in startup r=mconley
authorDoug Thayer <dothayer@mozilla.com>
Thu, 02 Apr 2020 19:10:32 +0000
changeset 521915 35b8354accac8a7a0c6912ea74ee0c2d3a098f1a
parent 521914 febf2b0df6f6ae3974c4c4664c25c94174d2555b
child 521916 51ec9f7a372ae84cae0774bca7bb9a9035b73d49
push id111908
push userdothayer@mozilla.com
push dateThu, 02 Apr 2020 19:21:42 +0000
treeherderautoland@35b8354accac [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1627040
milestone76.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1627040 - Check for corrupt JARs later in startup r=mconley Differential Revision: https://phabricator.services.mozilla.com/D69428
browser/components/BrowserGlue.jsm
--- a/browser/components/BrowserGlue.jsm
+++ b/browser/components/BrowserGlue.jsm
@@ -2223,23 +2223,16 @@ BrowserGlue.prototype = {
       },
 
       {
         task: () => {
           TabUnloader.init();
         },
       },
 
-      {
-        condition: Services.prefs.getBoolPref("corroborator.enabled", false),
-        task: () => {
-          Corroborate.init().catch(Cu.reportError);
-        },
-      },
-
       // request startup of Chromium remote debugging protocol
       // (observer will only be notified when --remote-debugger is passed)
       {
         condition: AppConstants.ENABLE_REMOTE_AGENT,
         task: () => {
           Services.obs.notifyObservers(null, "remote-startup-requested");
         },
       },
@@ -2363,16 +2356,22 @@ BrowserGlue.prototype = {
 
       () => {
         PublicSuffixList.init();
       },
 
       () => {
         RemoteSecuritySettings.init();
       },
+
+      () => {
+        if (Services.prefs.getBoolPref("corroborator.enabled", false)) {
+          Corroborate.init().catch(Cu.reportError);
+        }
+      },
     ];
 
     for (let task of idleTasks) {
       ChromeUtils.idleDispatch(() => {
         if (!Services.startup.shuttingDown) {
           if (Services.profiler) {
             Services.profiler.AddMarker("startupLateIdleTask");
           }