
Pier Angelo Vendrame pushed to branch mullvad-browser-140.4.0esr-15.0-1 at The Tor Project / Applications / Mullvad Browser Commits: 45f2b655 by Fatih Kilic at 2025-10-22T14:57:24+02:00 Bug 1977787 - Match storage limit to common value/desktop for RFP in Android. r=timhuang Differential Revision: https://phabricator.services.mozilla.com/D257850 - - - - - 2 changed files: - dom/quota/test/xpcshell/test_temporaryStorageRFP.js - toolkit/components/resistfingerprinting/nsRFPService.cpp Changes: ===================================== dom/quota/test/xpcshell/test_temporaryStorageRFP.js ===================================== @@ -36,10 +36,7 @@ async function testSteps() { request = reset(); await requestFinished(request); - let spoofedLimitBytes = 50 * GiB; - if (AppConstants.platform == "android") { - spoofedLimitBytes = 32 * GiB; - } + const spoofedLimitBytes = 50 * GiB; Services.prefs.setBoolPref("privacy.resistFingerprinting", true); ===================================== toolkit/components/resistfingerprinting/nsRFPService.cpp ===================================== @@ -2672,12 +2672,7 @@ CSSIntRect nsRFPService::GetSpoofedScreenAvailSize(const nsRect& aRect, /* static */ uint64_t nsRFPService::GetSpoofedStorageLimit() { - uint64_t gib = 1024ULL * 1024ULL * 1024ULL; // 1 GiB -#ifdef ANDROID - uint64_t limit = 32ULL * gib; // 32 GiB -#else - uint64_t limit = 50ULL * gib; // 50 GiB -#endif + uint64_t limit = 50ULL * 1024ULL * 1024ULL * 1024ULL; // 50 GiB MOZ_ASSERT(limit / 5 == dom::quota::QuotaManager::GetGroupLimitForLimit(limit)); View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/45f2... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/45f2... You're receiving this email because of your account on gitlab.torproject.org.
participants (1)
-
Pier Angelo Vendrame (@pierov)