зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1569581 - Use FxAccountsCommon.FXA_PWDMGR_* constants in AboutProtectionsHandler. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43168 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
62c257445d
Коммит
a93025697c
|
@ -20,6 +20,11 @@ ChromeUtils.defineModuleGetter(
|
||||||
"fxAccounts",
|
"fxAccounts",
|
||||||
"resource://gre/modules/FxAccounts.jsm"
|
"resource://gre/modules/FxAccounts.jsm"
|
||||||
);
|
);
|
||||||
|
ChromeUtils.defineModuleGetter(
|
||||||
|
this,
|
||||||
|
"FxAccountsCommon",
|
||||||
|
"resource://gre/modules/FxAccountsCommon.js"
|
||||||
|
);
|
||||||
ChromeUtils.defineModuleGetter(
|
ChromeUtils.defineModuleGetter(
|
||||||
this,
|
this,
|
||||||
"LoginHelper",
|
"LoginHelper",
|
||||||
|
@ -175,9 +180,9 @@ var AboutProtectionsHandler = {
|
||||||
const userFacingLogins =
|
const userFacingLogins =
|
||||||
Services.logins.countLogins("", "", "") -
|
Services.logins.countLogins("", "", "") -
|
||||||
Services.logins.countLogins(
|
Services.logins.countLogins(
|
||||||
"chrome://FirefoxAccounts",
|
FxAccountsCommon.FXA_PWDMGR_HOST,
|
||||||
null,
|
null,
|
||||||
"Firefox Accounts credentials"
|
FxAccountsCommon.FXA_PWDMGR_REALM
|
||||||
);
|
);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче