Bug 1291277 - Don't show pending crash reports notification on Release or Beta channnels. r?jaws draft
authorMike Conley <mconley@mozilla.com>
Tue, 02 Aug 2016 09:46:55 -0400
changeset 395490 64f846f3adb587bb787c2a401d7f7081969b876d
parent 395489 db6965bebcfc976e889f2eac786de3ac125e880b
child 395739 ab70a3b16697f7170f2d22637cad9b0d87d78bbf
push id24796
push usermconley@mozilla.com
push dateTue, 02 Aug 2016 13:48:14 +0000
reviewersjaws
bugs1291277
milestone50.0a1
Bug 1291277 - Don't show pending crash reports notification on Release or Beta channnels. r?jaws We were displaying this notificaton on all channels except Release before, but UX wants us to suppress this on Beta for now until we have a better sense of our population on that channel. MozReview-Commit-ID: D55cbtctcR
browser/components/nsBrowserGlue.js
--- a/browser/components/nsBrowserGlue.js
+++ b/browser/components/nsBrowserGlue.js
@@ -1130,17 +1130,17 @@ BrowserGlue.prototype = {
         if (removalSuccessful && uninstalledValue == "True") {
           this._resetProfileNotification("uninstall");
         }
       }
     }
 
     this._checkForOldBuildUpdates();
 
-    if ("release" != AppConstants.MOZ_UPDATE_CHANNEL) {
+    if (!AppConstants.RELEASE_BUILD) {
       this.checkForPendingCrashReports();
     }
 
     CaptivePortalWatcher.init();
 
     this._firstWindowTelemetry(aWindow);
     this._firstWindowLoaded();
   },