Closed Bug 669641 Opened 13 years ago Closed 5 years ago

Profile sanitizer should clear syncAccount first

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: philikon, Assigned: philikon)

Details

Attachments

(1 file)

It's great that the profile sanitizer calls Weave.Service.startOver() (via WeaveGlue.disconnect()), but it does that *last*, after wiping history and password and other things.

First of all, wiping history will now trigger a sync very quickly (bug 600429) and bug 665965), so the deletion may be propagated to other devices.

Secondly, wiping passwords will also wipe Sync credential data (the Sync password and Sync Key), so in fact the Sync sanitizer will never ever be called because its canClear getter will always return false.

I would recommend clearing syncAccount first.
Attached patch v1Splinter Review
Assignee: nobody → philipp
Attachment #544252 - Flags: review?(mark.finkle)
Component: Extension Compatibility → General
QA Contact: extension-compatibility → general
Attachment #544252 - Flags: review?(mark.finkle) → review+
http://hg.mozilla.org/services/services-central/rev/c37b4fa38e69
Status: NEW → ASSIGNED
Whiteboard: [fixed in services]
STRs for QA:

* Set up Sync on Fennec, open a few tabs, verify the tabs show up on another device.
* Click the "Clear All Private Data" button in Fennec. This should remove the device-specific records (=tabs) from your Sync account.
* Verify the phone's tabs no longer show up on other devices.
This is not working correctly.  Following the STR in comment 3 to the dot, the tabs from my Nexus S still appear on my Desktop browser after CPD on the phone.  What am i missing?

Fennec build installed from: http://hg.mozilla.org/services/services-central/rev/8f022250cf92
Whiteboard: [fixed in services]
Closing all opened bug in a graveyard component
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: