Bug 1423067 - SyncedTabs.jsm now exports the loginFailed getter fixing an issue with the sidebar. r=eoger

MozReview-Commit-ID: AVjfXH1E9uw

--HG--
extra : rebase_source : 8ee64138f5604b12af1f4ffa0cabb73ab6ad5465
This commit is contained in:
Mark Hammond 2017-12-05 14:46:53 +11:00
parent b5876a8b65
commit 6b3554dc84

View File

@ -247,6 +247,11 @@ this.SyncedTabs = {
return this._internal.hasSyncedThisSession;
},
// Returns true if Sync is in a "need to reauthenticate" state.
get loginFailed() {
return this._internal.loginFailed;
},
// Return a promise that resolves with an array of client records, each with
// a .tabs array. Note that part of the contract for this module is that the
// returned objects are not shared between invocations, so callers are free