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:
@@ -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: () => {
|
||||
|
||||
Reference in New Issue
Block a user