Bug 1170926 - Have the hamburger menu notice the 'needs reauthentication' state. r=adw, a=sledru
authorMark Hammond <mhammond@skippinet.com.au>
Thu, 04 Jun 2015 11:06:07 +1000
changeset 274984 62808fe0d851b92a437eb8f57d7190fdd19df71f
parent 274983 e5be8fc2066033f8472fc329ee281a3b35f7a900
child 274985 2ad79acb7c815545beac953283f30b4cff1a78e5
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadw, sledru
bugs1170926
milestone40.0a2
Bug 1170926 - Have the hamburger menu notice the 'needs reauthentication' state. r=adw, a=sledru
browser/base/content/browser-fxaccounts.js
--- a/browser/base/content/browser-fxaccounts.js
+++ b/browser/base/content/browser-fxaccounts.js
@@ -26,16 +26,17 @@ let gFxAccounts = {
   get topics() {
     // Do all this dance to lazy-load FxAccountsCommon.
     delete this.topics;
     return this.topics = [
       "weave:service:ready",
       "weave:service:sync:start",
       "weave:service:login:error",
       "weave:service:setup-complete",
+      "weave:ui:login:error",
       "fxa-migration:state-changed",
       this.FxAccountsCommon.ONVERIFIED_NOTIFICATION,
       this.FxAccountsCommon.ONLOGOUT_NOTIFICATION,
       "weave:notification:removed",
     ];
   },
 
   get button() {