[tbb-commits] [torbutton] branch maint-11.5 updated: Bug 41105: Match tb-102 use of ClearDataService flags, including proper call to PreflightCacheCleaner included in CLEAR_ALL

gitolite role git at cupani.torproject.org
Mon Nov 7 11:52:32 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch maint-11.5
in repository torbutton.

The following commit(s) were added to refs/heads/maint-11.5 by this push:
     new 7d789f2c Bug 41105: Match tb-102 use of ClearDataService flags, including proper call to PreflightCacheCleaner included in CLEAR_ALL
7d789f2c is described below

commit 7d789f2ce6595232486456fb8570a4a8d5f01471
Author: Dan Ballard <dan at mindstab.net>
AuthorDate: Fri Nov 4 14:38:11 2022 -0700

    Bug 41105: Match tb-102 use of ClearDataService flags, including proper call to PreflightCacheCleaner included in CLEAR_ALL
---
 chrome/content/torbutton.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/chrome/content/torbutton.js b/chrome/content/torbutton.js
index 3bfaa1f8..2f6ff1ee 100644
--- a/chrome/content/torbutton.js
+++ b/chrome/content/torbutton.js
@@ -571,9 +571,7 @@ async function torbutton_do_new_identity() {
 
   try {
     await clearData(
-      Services.clearData.CLEAR_DOM_STORAGES |
-      Services.clearData.CLEAR_MEDIA_DEVICES |
-      Services.clearData.CLEAR_PREDICTOR_NETWORK_DATA
+      Services.clearData.CLEAR_ALL ^ Services.clearData.CLEAR_PASSWORDS
     );
   } catch (e) {
     torbutton_log(5, "Exception on storage clearing: " + e);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list