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 267670 7cee52e6092943455a0c05efe514f806d5d0a65f
parent 267669 d810a18a0e0fcea639cdcd51d316c579b2100cff
child 267671 da14f82d9caf6562c9fdf63bed34247174a60c4b
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [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() {