Bug 980839 - Panel UI doesn't prompt for reauth when restarting after password change r=markh a=sylvestre
authorTim Taubert <ttaubert@mozilla.com>
Mon, 10 Mar 2014 17:38:41 -0700
changeset 183296 d294159b58e2d4e341290039766c46001e6ba9d2
parent 183295 b762e74fd0a7f300e22d4058cd26d0f127a60b57
child 183297 b3762858ddd5332ae8880f06609f0053d27d1671
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarkh, sylvestre
bugs980839
milestone29.0a2
Bug 980839 - Panel UI doesn't prompt for reauth when restarting after password change r=markh a=sylvestre
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
     ];
   },