Closed
Bug 1359892
Opened 8 years ago
Closed 8 years ago
[Form Autofill] Support full-name fields
Categories
(Toolkit :: Form Manager, enhancement, P3)
Toolkit
Form Manager
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: lchang, Assigned: lchang)
References
(Blocks 1 open bug)
Details
(Whiteboard: [form autofill:M2])
Attachments
(1 file)
Create a single "name" field based on the separated name fields.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → lchang
Status: NEW → ASSIGNED
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8862646 [details]
Bug 1359892 - [Form Autofill] Support full-name fields.
https://reviewboard.mozilla.org/r/134500/#review137784
::: browser/extensions/formautofill/ProfileStorage.jsm:349
(Diff revision 1)
> }
> }
> },
>
> + _normalizeName(profile) {
> + if (profile["name"]) {
Do an early return in the inverse case instead
::: browser/extensions/formautofill/test/unit/test_profileAutocompleteResult.js:6
(Diff revision 1)
> guid: "test-guid-1",
> - "given-name": "Timothy",
> + name: "Timothy Berners-Lee",
> - "family-name": "Berners-Lee",
> organization: "Sesame Street",
> "street-address": "123 Sesame Street.",
> tel: "1-345-345-3456.",
> }, {
> guid: "test-guid-2",
> - "given-name": "John",
> + name: "John Doe",
> - "family-name": "Doe",
> organization: "Mozilla",
> "street-address": "331 E. Evelyn Avenue",
Should we keep some test cases for the name parts?
Attachment #8862646 -
Flags: review?(MattN+bmo) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by lchang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d5891c204981
[Form Autofill] Support full-name fields. r=MattN
Comment 6•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•