Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- FxAccountsWebChannel.jsm
- +++ FxAccountsWebChannel.jsm
- @@ -545,10 +545,12 @@
- * If returning status information is not allowed or no user is signed into
- * Sync, `user_data` will be null.
- */
- - async getFxaStatus(service, sendingContext, isPairing) {
- + async getFxaStatus(service, sendingContext, isPairing, context) {
- let signedInUser = null;
- - if (this.shouldAllowFxaStatus(service, sendingContext, isPairing)) {
- + if (
- + this.shouldAllowFxaStatus(service, sendingContext, isPairing, context)
- + ) {
- const userData = await this._fxAccounts.getSignedInUser();
- if (userData) {
- signedInUser = {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement