Closed
Bug 1155390
Opened 10 years ago
Closed 10 years ago
Don't prompt to update a password when there is no username field and the password is identical
Categories
(Toolkit :: Password Manager, defect)
Toolkit
Password Manager
Tracking
()
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: MattN, Assigned: MattN)
References
()
Details
Attachments
(1 file, 1 obsolete file)
+++ This bug was initially created as a clone of Bug #1152422 +++
> After bug 1101026 was fixed (by bug 1101029), Nightly remembered my
> mozilla.okta.com password correctly. About a week ago, Nightly still remembered
> my password, but would show a doorhanger asking if I would like to update my
> (unchanged) saved password. Clicking the doorhanger's "Update Password" button
> did not prevent the doorhanger from being shown next time.
Flags: qe-verify-
Flags: firefox-backlog+
Assignee | ||
Comment 1•10 years ago
|
||
/r/7161 - Bug 1155390 - Don't prompt to update a password when there is no username field and the password is identical. r=dolske
Pull down this commit:
hg pull -r d1aef64bec25c55fa16b98dfe16f2794bd81fee3 https://reviewboard-hg.mozilla.org/gecko/
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8593597 [details]
MozReview Request: bz://1155390/MattN
f? because this still needs a test
Also, I can imagine cases where a password change form has only 2 fields (no double-entry of the new password) and we could use our knowledge of the existing password (in storage) to guess that the field we normally detect as the old password field is actually the new password field. With this change we are placing more trust in getFormField to make the right decision about old vs. new password fields. If we ever implemented the "smarter" heuristics I just mentioned (without other improvements like checking .defaultValue) then we would have asked to update the user's password to the value "test" since that's what's hardcoded in input@name="hidden-password-2" and this fix would no longer work.
Whether we implement these changes or not, we could use recipes to override getFormFields so I guess it's a matter of making the heuristic correct for the more common case (and reducing introducing regressions) but I'm not sure which that is.
Attachment #8593597 -
Flags: feedback?(dolske)
Assignee | ||
Updated•10 years ago
|
Attachment #8593597 -
Flags: feedback?(dolske)
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8593597 [details]
MozReview Request: bz://1155390/MattN
/r/7161 - Bug 1155390 - Don't prompt to update a password when there is no username field and the password is identical. r=dolske
Pull down this commit:
hg pull -r c03873365472e9c5bfa509559da2108927869fbc https://reviewboard-hg.mozilla.org/gecko/
Assignee | ||
Comment 4•10 years ago
|
||
I rebased on top of bug 1152422 since you were okay with that change and that makes this much easier to review. Do read comment 2 still though.
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8593597 [details]
MozReview Request: bz://1155390/MattN
This shouldn't have been cleared.
Attachment #8593597 -
Flags: feedback?(dolske)
Updated•10 years ago
|
Attachment #8593597 -
Flags: feedback?(dolske) → feedback+
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8593597 [details]
MozReview Request: bz://1155390/MattN
/r/7161 - Bug 1155390 - Don't prompt to update a password when there is no username field and the password is identical. r=dolske
Pull down this commit:
hg pull -r f348d0492106f6d980df1c8f1ed2ae3e1dd34f00 https://reviewboard-hg.mozilla.org/gecko/
Attachment #8593597 -
Flags: feedback+ → review?(dolske)
Updated•10 years ago
|
Iteration: 40.2 - 27 Apr → 40.3 - 11 May
Updated•10 years ago
|
Attachment #8593597 -
Flags: review?(dolske) → review+
Comment 7•10 years ago
|
||
Comment on attachment 8593597 [details]
MozReview Request: bz://1155390/MattN
https://reviewboard.mozilla.org/r/7159/#review6573
Ship It!
Assignee | ||
Comment 9•10 years ago
|
||
Flags: in-testsuite+
Whiteboard: [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla40
Assignee | ||
Comment 11•10 years ago
|
||
Attachment #8593597 -
Attachment is obsolete: true
Attachment #8620072 -
Flags: review+
Assignee | ||
Comment 12•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•