[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-115.2.1esr-13.0-1] fixup! Bug 31740: Remove some unnecessary RemoteSettings instances

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Mon Sep 18 10:17:00 UTC 2023



Pier Angelo Vendrame pushed to branch tor-browser-115.2.1esr-13.0-1 at The Tor Project / Applications / Tor Browser


Commits:
5d6218da by Pier Angelo Vendrame at 2023-09-18T11:16:31+02:00
fixup! Bug 31740: Remove some unnecessary RemoteSettings instances

Bug 42083: RemoteSecuritySettings.init throws error in console

- - - - -


1 changed file:

- security/manager/ssl/RemoteSecuritySettings.sys.mjs


Changes:

=====================================
security/manager/ssl/RemoteSecuritySettings.sys.mjs
=====================================
@@ -529,6 +529,10 @@ class CRLiteFilters {
   }
 
   async cleanAttachmentCache() {
+    if (!this.client) {
+      return;
+    }
+
     // Bug 1795710 - misuse of Remote Settings `downloadToDisk` caused us to
     // keep filters and stashes on disk indefinitely. We're no longer caching
     // these downloads, so if there are any filters still in the cache they can



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/5d6218dae55c231e86eaff144c6f1d76c5b5b835

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/5d6218dae55c231e86eaff144c6f1d76c5b5b835
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230918/93d60b2a/attachment.htm>


More information about the tbb-commits mailing list