Remove wipeAll support
Categories
(Firefox :: Sync, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: markh, Assigned: bdk)
References
Details
Attachments
(1 file, 1 obsolete file)
We support a 'wipeAll' command, designed to wipe all engines from a client. This is not used in practice and I think this is misguided - a possible use-case might be for a lost device or similar, but in that scenario:
- A user probably would also expect non-sync data to be wiped
- A user would probably prefer to use features built into the OS so things other than Firefox are wiped.
We've carried the (unused) implementation into the rust components, so it often causes confusion (eg, "when is this called?" - the answer "never" is not obvious), and Lougenia just had to deal with it again for autofill.
So I propose we kill it. We can keep support for the plain "wipe" (which just targets a single collection) as that has at least 1 use-case (bookmarks), but the wipeAll footgun should go.
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
This is, roughly, kill every reference in https://searchfox.org/mozilla-central/search?q=wipeAll without breaking anything else and ensuring all tests continue to pass.
Assignee | ||
Comment 2•4 years ago
|
||
- Use
wipeEngine("tabs")
instead ofwipeAll()
as a test command in test_clients_engine.js - Madet the
engines
param required inwipeRemote()
Reporter | ||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
I think this code is ready for review, what's the next step?
Assignee | ||
Comment 4•4 years ago
•
|
||
Ignore this one, I entered the wrong bug number.
Comment 5•4 years ago
|
||
Comment on attachment 9218401 [details]
WIP: Bug 1702376: Updating sync engine logging
Revision D113385 was moved to bug 1552382. Setting attachment 9218401 [details] to obsolete.
Updated•4 years ago
|
Comment 7•4 years ago
|
||
bugherder |
Description
•