mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 1590486 - Fix eslint failure. r=eslint-fix
This commit is contained in:
parent
274e0280b0
commit
23c6504831
@ -485,14 +485,16 @@ this.FxAccountsWebChannelHelpers.prototype = {
|
||||
* @param the uid of the account which have been logged out
|
||||
*/
|
||||
logout(uid) {
|
||||
return this._fxAccounts._internal.getUserAccountData(["uid"]).then(userData => {
|
||||
if (userData && userData.uid === uid) {
|
||||
// true argument is `localOnly`, because server-side stuff
|
||||
// has already been taken care of by the content server
|
||||
return fxAccounts.signOut(true);
|
||||
}
|
||||
return null;
|
||||
});
|
||||
return this._fxAccounts._internal
|
||||
.getUserAccountData(["uid"])
|
||||
.then(userData => {
|
||||
if (userData && userData.uid === uid) {
|
||||
// true argument is `localOnly`, because server-side stuff
|
||||
// has already been taken care of by the content server
|
||||
return fxAccounts.signOut(true);
|
||||
}
|
||||
return null;
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -677,7 +677,7 @@ add_task(async function test_helpers_getFxAStatus_extra_engines() {
|
||||
uid: "uid",
|
||||
verified: true,
|
||||
});
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
privateBrowsingUtils: {
|
||||
@ -714,7 +714,7 @@ add_task(async function test_helpers_getFxaStatus_allowed_signedInUser() {
|
||||
uid: "uid",
|
||||
verified: true,
|
||||
});
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user