Clear the tracking db when history is cleared
Categories
(Firefox for Android :: Privacy, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: petru, Assigned: petru)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group3])
Attachments
(3 files)
Similar to the desktop functionality where the details about blocked trackers are also cleared when
On Fenix we should also request Gecko to clear the tracking db details whenever deleting all browsing history.
Updated•23 days ago
|
| Assignee | ||
Comment 1•22 days ago
|
||
This will allow clearing all persisted data about blocked trackers in previous
browsing sessions.
| Assignee | ||
Comment 2•22 days ago
|
||
| Assignee | ||
Comment 3•22 days ago
|
||
The controller was instantiated in MenuDialogFragment with
coroutineContext = lifecycleScope.coroutineContext which carries
the fragment's Job.
The "Delete browsing data and quit" flow dismisses the fragment
before clearBrowsingDataOnQuit completes, which cancels that Job.
Every subsequent withContext(coroutineContext) inside the
controller's delete methods then throws CancellationException before
entering its lambda potentially skipping the engine clear calls for
tracker data, cookies, cache, and site permissions.
Pass Dispatchers.Main instead. It carries no Job, so the engine calls
inherit the still-alive activity-scoped coroutine's Job and run as
expected during the quit path.
Comment 5•20 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/eec9088b9ed3
https://hg.mozilla.org/mozilla-central/rev/83139f456fcf
https://hg.mozilla.org/mozilla-central/rev/1f22298924db
Description
•