Closed Bug 1659186 Opened 5 years ago Closed 5 years ago

Limit `cc-form` detected telemetry to only valid cc sections

Categories

(Toolkit :: Form Autofill, task, P1)

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: zbraniecki, Assigned: zbraniecki)

Details

(Whiteboard: [cc-autofill-reserve])

Attachments

(1 file)

We currently collect detected cc-forms telemetry and its fields on all sections, even if they end up being invalid.

That means that we can detect a field, like cc-name or cc-exp, report cc-form/detected and cc-number not found.

The solution is to just wrap the telemetry in isSectionValid here - https://searchfox.org/mozilla-central/rev/50cb0892948fb4291b9a6b1b30122100ec7d4ef2/browser/extensions/formautofill/FormAutofillHandler.jsm#922-940

Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Pushed by adam@nostrum.com: https://hg.mozilla.org/integration/autoland/rev/771c9b723d9f Limit `cc-form` detected telemetry to only valid cc sections. r=zbraniecki
Severity: -- → S3
Priority: -- → P1
Whiteboard: [cc-autofill-reserve]
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: