Closed Bug 1812294 Opened 1 year ago Closed 1 year ago

Implement a framework to detect duplicated address entry

Categories

(Toolkit :: Form Autofill, task, P2)

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: dlee, Assigned: dlee)

References

(Regressed 1 open bug)

Details

(Whiteboard: [fxcm-addr-dedupe])

Attachments

(1 file)

No description provided.
Whiteboard: [fxcm-addr-dedupe]

This patch:

  • adds a new pref "extensions.formautofill.addresses.capture.v2.enabled". When the pref is on,
    we will use "save address" and "update address" doorhnager instead of
    "first time use" doorhanger for address capture.

  • adds a AddressComponent class, which converts "address record" into an
    object that we can more easily compare each address field.

  • defines when we consider one address is a duplicated address of another
    one (See AddressComponent.isDuplicate for details)

  • defines when we consider one address can be merged into another
    address (See AddressComponent.isMergeable for details)

This patch does NOT:

  • implements comparison heuristics for individual address fields.
    This patch simply compares string directly.
Blocks: 1820522
Blocks: 1820523
Blocks: 1820524
Blocks: 1820525
Blocks: 1820526
Blocks: 1820728
Pushed by dlee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c02c405bd921
Implement a framework to detect duplicated address entry r=sgalich
Regressions: 1822254
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
Duplicate of this bug: 1820728
Duplicate of this bug: 1820526
Duplicate of this bug: 1820525
Duplicate of this bug: 1820524
Duplicate of this bug: 1820523
No longer duplicate of this bug: 1820523
No longer duplicate of this bug: 1820524
No longer duplicate of this bug: 1820525
No longer duplicate of this bug: 1820526
No longer duplicate of this bug: 1820728
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: