... |
... |
@@ -87,6 +87,15 @@ pref("browser.sessionstore.privacy_level", 2); |
87
|
87
|
// Use the in-memory media cache and increase its maximum size (#29120)
|
88
|
88
|
pref("browser.privatebrowsing.forceMediaMemoryCache", true);
|
89
|
89
|
pref("media.memory_cache_max_size", 65536);
|
|
90
|
+// tor-browser#41065: lie about the available quota.
|
|
91
|
+// This value is in KiB, and will be divided by 5. Currently: 50GiB, to be
|
|
92
|
+// coherent with Firefox's usual value. However, this might be too much for live
|
|
93
|
+// systems.
|
|
94
|
+// This will be the limit also after granting the persistent storage permission,
|
|
95
|
+// but we are not interested in it, since we support only PBM.
|
|
96
|
+// We can come back to it, and hardcode the two spaced differently, if we ever
|
|
97
|
+// think we need it.
|
|
98
|
+pref("dom.quotaManager.temporaryStorage.fixedLimit", 52428800);
|
90
|
99
|
// Disable restore in case of crash (tor-browser#41503)
|
91
|
100
|
// This should not be needed in PBM, but we added it anyway like other options.
|
92
|
101
|
pref("browser.sessionstore.resume_from_crash", false);
|
... |
... |
@@ -466,6 +475,8 @@ pref("pdfjs.disabled", false, locked); |
466
|
475
|
#endif
|
467
|
476
|
// Bug 40057: Ensure system colors are not used for CSS4 colors
|
468
|
477
|
pref("browser.display.use_system_colors", false);
|
|
478
|
+// tor-browser#43236: Disable vsync on Wayland to prevent refresh rate leaks.
|
|
479
|
+pref("widget.wayland.vsync.enabled", false);
|
469
|
480
|
|
470
|
481
|
// tor-browser#41943: defense-in-depth, but do not lock anymore (enabled in Firefox 119, http://bugzil.la/1851162)
|
471
|
482
|
pref("javascript.options.spectre.disable_for_isolated_content", false);
|