Closed Bug 1641412 Opened 4 years ago Closed 4 years ago

[Doorhanger V2] Collect all <input> values, pass to doorhanger

Categories

(Toolkit :: Password Manager, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: severin, Assigned: severin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Sometimes we might guess wrong selecting <input>s from which to suggest login values. Collect all potential input values, classify them as more likely username or password, and pass them to the doorhanger so that any can be picked.

No functional change in this story, see {update with bug links once they've been opened}.

Technical notes -

  • These values will need to be collected by the content process, passed to the parent, and then passed to the LoginManagerPrompter.jsm through promptToSavePassword and promptToChangePassword.
  • Don't scan the DOM for inputs when the doorhanger opens. Instead, whenever an input is modified (we're already listening to this), cache it. Use that list when the doorhanger opens.
  • Use LoginHelper.isPasswordFieldType and LoginHelper.isUsernameFieldType to classify inputs
No longer depends on: 1641408
See Also: → 1641406
Blocks: 1641415
Blocks: 1641416
Assignee: nobody → severin.mozilla
Status: NEW → ASSIGNED

Depends on D74181

Attachment #9152810 - Attachment is obsolete: true
Attachment #9152268 - Attachment description: Bug 1641412 - WIP;r=MattN → Bug 1641412 - WIP pass input values to doorhanger;r=MattN
Attachment #9152268 - Attachment description: Bug 1641412 - WIP pass input values to doorhanger;r=MattN → Bug 1641412 - Pass all possible UNs/PWs to doorhanger;r=MattN
Pushed by btara@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/85bbe760e98e Pass all possible UNs/PWs to doorhanger;r=MattN,sfoster
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: