Closed Bug 1570475 Opened 5 years ago Closed 5 years ago

Remove caching of login object on the login-list-items

Categories

(Firefox :: about:logins, task, P1)

task

Tracking

()

RESOLVED FIXED
Firefox 70
Tracking Status
firefox70 --- fixed

People

(Reporter: jaws, Assigned: jaws)

References

Details

(Whiteboard: [skyline] [passwords:management])

Attachments

(5 files)

With bug 1566115 we now have a map of guid -> {login, listItem} and as such we don't need to cache the login object on the listItem.

The AboutLoginsCreateLogin event was being used in two different contexts, one to signal to AboutLoginsChild.jsm that a new login was created and in a second context to signal within the page that the user wanted to start creating a new login. This overloading of the event has now been fixed. There was also another issue when comparing the typed origin to the saved origin which has been fixed.

Whiteboard: [skyline] [passwords:management]
Flags: qe-verify-
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f994225862f8 Fix reference to the first list item. r=MattN https://hg.mozilla.org/integration/autoland/rev/703345834e49 Remove caching of login object on login-list-items. r=MattN https://hg.mozilla.org/integration/autoland/rev/1ba5e4238db6 Reduce code duplication when selecting the first login, also make sure that the login being selected is visible in the list. r=MattN https://hg.mozilla.org/integration/autoland/rev/acfdfbb04139 Show file:// as the title on the login-list-item for saved file:// logins. r=MattN https://hg.mozilla.org/integration/autoland/rev/c9517c3c6223 Saving a login should select the login. r=MattN
Component: Password Manager → about:logins
Product: Toolkit → Firefox
Target Milestone: mozilla70 → Firefox 70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: