Bug 980839 - Panel UI doesn't prompt for reauth when restarting after password change r=markh
authorTim Taubert <ttaubert@mozilla.com>
Mon, 10 Mar 2014 17:38:41 -0700
changeset 172838 470a1e4e9ac5b8d75dca28ae559f369994b32813
parent 172837 997a18bcc2d626af6417ed085a0def5753007e47
child 172839 7c69522060ebce3c975f39547b825ea7f7e1539f
push id5573
push userttaubert@mozilla.com
push dateTue, 11 Mar 2014 01:32:05 +0000
treeherderfx-team@470a1e4e9ac5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarkh
bugs980839
milestone30.0a1
Bug 980839 - Panel UI doesn't prompt for reauth when restarting after password change r=markh
browser/base/content/browser-fxaccounts.js
--- a/browser/base/content/browser-fxaccounts.js
+++ b/browser/base/content/browser-fxaccounts.js
@@ -19,16 +19,17 @@ let gFxAccounts = {
                           .getService(Ci.nsISupports)
                           .wrappedJSObject;
   },
 
   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",
       FxAccountsCommon.ONLOGIN_NOTIFICATION,
       FxAccountsCommon.ONVERIFIED_NOTIFICATION,
       FxAccountsCommon.ONLOGOUT_NOTIFICATION
     ];
   },