Closed Bug 1156017 Opened 9 years ago Closed 9 years ago

Can't save web site passwords from doorhanger

Categories

(SeaMonkey :: Passwords & Permissions, defect)

defect
Not set
normal

Tracking

(seamonkey2.36 fixed, seamonkey2.37 fixed)

RESOLVED FIXED
seamonkey2.37
Tracking Status
seamonkey2.36 --- fixed
seamonkey2.37 --- fixed

People

(Reporter: neil, Assigned: neil)

Details

Attachments

(2 files)

Bug 1143903 added two fields to the password doorhanger to display the password that was being saved. Bug 1145913 then added code to read back the values to allow them to be edited. This means that saving passwords from the doorhanger is now broken, although if you turn doorhangers off then you can still save passwords from the notification bar.
Attached patch Proposed patchSplinter Review
I wasn't sure I wanted to preview the username (and password, sort of) like Firefox does, and I definitely didn't want to edit it (this makes no sense to me at all), but this does mean that not only do I need an element which allows me to set the value attribute but read the value property (I have no idea why this is how it was implemented), but it also needs to work when hidden, which means using an HTML input.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #8594527 - Flags: review?(philip.chee)
Comment on attachment 8594527 [details] [diff] [review]
Proposed patch

This works, but I suggest wrapping it in a <popupnotification> to make it easier to locate for people porting code from Firefox. e.g.

  <popupnotification id="password-notification" hidden="true">
    <popupnotificationcontent hidden="true">
      <html:input id="password-notification-username"/>
      <html:input id="password-notification-password" type="password"/>
    </popupnotificationcontent>
  </popupnotification>
Attachment #8594527 - Flags: review?(philip.chee) → review+
Attached patch Possible patchSplinter Review
So you'd prefer this version?
Attachment #8596274 - Flags: review?(philip.chee)
Comment on attachment 8596274 [details] [diff] [review]
Possible patch

r=me assuming it works.
Attachment #8596274 - Flags: review?(philip.chee) → review+
Pushed comm-central changeset 0907772807f2.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.37
Comment on attachment 8596274 [details] [diff] [review]
Possible patch

[Approval Request Comment]
Regression caused by (bug #): 1145913
User impact if declined: Password saving broken from doorhanger
Testing completed (on m-c, etc.): Landed on c-c
Risk to taking this patch (and alternatives if risky): Low
String changes made by this patch: None
Attachment #8596274 - Flags: approval-comm-aurora?
Attachment #8596274 - Flags: approval-comm-aurora? → approval-comm-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: