Open Bug 1332613 Opened 9 years ago Updated 2 years ago

Update browsingData to use removeAllLogins when that method supports a since date

Categories

(WebExtensions :: Compatibility, defect, P3)

defect

Tracking

(Not tracked)

REOPENED

People

(Reporter: bsilverberg, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [browsingData]triaged)

Attachments

(4 obsolete files)

As discussed at https://bugzilla.mozilla.org/show_bug.cgi?id=1321303#c130, there's an issue with the current implementation of password removal if a user has a Master Password set and chooses not to enter it when this API attempts to clear passwords. Removing the call to getAllLogins from ext-browsingData.js and replacing it with a call to removeAllLogins will fix this, but in order to do that we'll need removeAllLogins to support passing in a "since" date.
Attachment #8856191 - Attachment is obsolete: true
Attachment #8856191 - Flags: review?(bob.silverberg)
Attachment #8856192 - Attachment is obsolete: true
Attachment #8856192 - Flags: review?(bob.silverberg)
Comment on attachment 8856193 [details] Bug 1332613 - Add support for removeAllLogins to take an optional parameter 'since'; https://reviewboard.mozilla.org/r/128132/#review131390 Thomas, thanks for doing this, but this patch should be attached to bug 1332611, which was opened for that purpose, and I wouldn't be the one to review the changes, it would be someone responsible for the nsILoginManager code.
Attachment #8856193 - Flags: review?(bob.silverberg)
Comment on attachment 8856194 [details] Bug 1332613 - Remove the call to getAllLogins from browsingData.remove(passwords) in favor of calling removeAllLogins(since); https://reviewboard.mozilla.org/r/128134/#review131392 This looks good, Thomas, but its review will have to wait for bug 1332611 to land, so I'm removing my review flag for now. Please re-flag me for review once the changes for bug 1332611 land, changing the behaviour of removeAllLogins.
Attachment #8856194 - Flags: review?(bob.silverberg)
Attachment #8856193 - Attachment is obsolete: true
Attachment #8856194 - Attachment is obsolete: true
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Product: Toolkit → WebExtensions
Severity: normal → S3

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: bob.silverberg → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: