mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 1594929 - Remove invalidateCertificate from FxAccountsKeys.jsm. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D52623 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
ef186338d1
commit
e57be9d2f3
@ -264,14 +264,6 @@ class FxAccountsKeys {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Invalidate the FxA certificate, so that it will be refreshed from the server
|
||||
* the next time it is needed.
|
||||
*/
|
||||
invalidateCertificate() {
|
||||
return this._fxia.invalidateCertificate();
|
||||
}
|
||||
|
||||
/**
|
||||
* Derive the WebExtensions Sync Storage Key given the byte string kB.
|
||||
*
|
||||
|
@ -421,7 +421,7 @@ this.BrowserIDManager.prototype = {
|
||||
this._log.warn(
|
||||
"Token server returned 401, refreshing certificate and retrying token fetch"
|
||||
);
|
||||
await fxa.keys.invalidateCertificate();
|
||||
await fxa._internal.invalidateCertificate();
|
||||
keys = await fxa.keys.getKeys();
|
||||
token = await getToken(keys);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user