Bug 1915672 - Add Telemetry for OSAuth for Formautofill and about:logins. r=dimi,mtigley,settings-reviewers,firefox-desktop-core-reviewers ,joschmidt

Differential Revision: https://phabricator.services.mozilla.com/D232339
This commit is contained in:
Helena
2025-01-15 21:55:20 +00:00
parent 2023a49747
commit 651b2cfe37
15 changed files with 292 additions and 35 deletions

View File

@@ -3160,6 +3160,21 @@ BrowserGlue.prototype = {
},
},
{
name: "OS Authentication telemetry",
task: () => {
const osAuthForCc = lazy.FormAutofillUtils.getOSAuthEnabled(
lazy.FormAutofillUtils.AUTOFILL_CREDITCARDS_REAUTH_PREF
);
const osAuthForPw = lazy.LoginHelper.getOSAuthEnabled(
lazy.LoginHelper.OS_AUTH_FOR_PASSWORDS_PREF
);
Glean.formautofill.osAuthEnabled.set(osAuthForCc);
Glean.pwmgr.osAuthEnabled.set(osAuthForPw);
},
},
{
name: "browser-startup-idle-tasks-finished",
task: () => {