Bug 1170926 - Have the hamburger menu notice the 'needs reauthentication' state. r=adw, a=lizzard
authorMark Hammond <mhammond@skippinet.com.au>
Thu, 04 Jun 2015 11:06:07 +1000
changeset 266208 7cee52e60929
parent 266207 d810a18a0e0f
child 266209 da14f82d9caf
push id4787
push userryanvm@gmail.com
push date2015-06-08 17:52 +0000
treeherdermozilla-beta@48c9f45a00f2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadw, lizzard
bugs1170926
milestone39.0
Bug 1170926 - Have the hamburger menu notice the 'needs reauthentication' state. r=adw, a=lizzard
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() {