From b0638acef276dc3af49949d49886ebcdfa2c3be3 Mon Sep 17 00:00:00 2001 From: Kathy Brade Date: Wed, 15 Jun 2016 14:12:45 -0400 Subject: [PATCH] Bug 19411: Update icon shows up even if partial updates are failing. Do not show the "update badge" on the hamburger menu when the update state is "downloading" (which means fallback to a complete update is in progress). --- browser/base/content/browser.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index f0ed289720ade..b0d07a75f24f3 100755 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -2682,6 +2682,13 @@ var gMenuButtonUpdateBadge = { this.reset(); return; } + + if (status == "downloading") { + // A partial update failed and a complete update is being attempted. + // Ignore (it does not make sense to show the update badge yet). + return; + } + if (status == "failed") { // Background update has failed, let's show the UI responsible for // prompting the user to update manually. -- GitLab