Closed Bug 1858025 Opened 9 months ago Closed 9 months ago

Correctly clear pref in SyncDisconnect module

Categories

(Firefox :: Sync, defect)

defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox118 --- wontfix
firefox119 --- verified
firefox120 --- verified

People

(Reporter: mathew.hodson, Assigned: mathew.hodson)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

No description provided.
Assignee: nobody → mathew.hodson
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1845252

Component: Firefox Accounts → Sync
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/6700abaef0f9
Correctly clear pref in SyncDisconnect module. r=skhamis,sync-reviewers
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

The patch landed in nightly and beta is affected.
:mathew.hodson, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox119 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(mathew.hodson)
Attachment #9358432 - Flags: approval-mozilla-beta?

Uplift Approval Request

  • Fix verified in Nightly: yes
  • Code covered by automated testing: yes
  • String changes made/needed: no
  • Explanation of risk level: Small change to use pre-existing constant value
  • User impact if declined: Uneeded warning when disconnecting from Sync and then a different user signs in
  • Steps to reproduce for manual QE testing: 1. Login to Sync 2. Manually set pref "identity.fxaccounts.lastSignedInUserHash" 3. Disconnect from Sync 4. Confirm that the pref was cleared
  • Needs manual QE test: no
  • Is Android affected?: yes
  • Risk associated with taking this patch: low
Flags: needinfo?(mathew.hodson)

Comment on attachment 9358432 [details]
Bug 1858025 - Correctly clear pref in SyncDisconnect module.

Approved for 119.0 RC1

Attachment #9358432 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]
Flags: qe-verify+

Hello,

I was able to reproduce the issue using Firefox 118.0.2.

This is verified as fixed using Firefox 119.0 and Firefox nightly 120.0a1. The "identity.fxaccounts.lastSignedInUserHash" pref is deleted after signing out to Sync and checking the "Delete data from this device (passwords.history, bookmarks, etc.)" option.
The pref is automatically created after signing back in to sync.

Also, if the "Delete data from this device (passwords.history, bookmarks, etc.)" option is not checked when signing out, the pref is not deleted.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: