Bug 972144 - don't show error notification for LOGIN_FAILED_NOT_READY. r=ttaubert
--- a/browser/base/content/browser-syncui.js
+++ b/browser/base/content/browser-syncui.js
@@ -156,16 +156,21 @@ let gSyncUI = {
// if login fails, any other notifications are essentially moot
Weave.Notifications.removeAll();
// if we haven't set up the client, don't show errors
if (this._needsSetup()) {
this.updateUI();
return;
}
+ // if we are still waiting for the identity manager to initialize, don't show errors
+ if (Weave.Status.login == Weave.LOGIN_FAILED_NOT_READY) {
+ this.updateUI();
+ return;
+ }
let title = this._stringBundle.GetStringFromName("error.login.title");
let description;
if (Weave.Status.sync == Weave.PROLONGED_SYNC_FAILURE) {
// Convert to days
let lastSync =
Services.prefs.getIntPref("services.sync.errorhandler.networkFailureReportTimeout") / 86400;