Pier Angelo Vendrame pushed to branch tor-browser-140.4.0esr-15.0-1 at The Tor Project / Applications / Tor Browser
Commits:
- 
632e2baa
by Fatih Kilic at 2025-10-22T14:37:33+02:00
2 changed files:
- dom/quota/test/xpcshell/test_temporaryStorageRFP.js
- toolkit/components/resistfingerprinting/nsRFPService.cpp
Changes:
| ... | ... | @@ -36,10 +36,7 @@ async function testSteps() { | 
| 36 | 36 |    request = reset();
 | 
| 37 | 37 |    await requestFinished(request);
 | 
| 38 | 38 | |
| 39 | -  let spoofedLimitBytes = 50 * GiB;
 | |
| 40 | -  if (AppConstants.platform == "android") {
 | |
| 41 | -    spoofedLimitBytes = 32 * GiB;
 | |
| 42 | -  }
 | |
| 39 | +  const spoofedLimitBytes = 50 * GiB;
 | |
| 43 | 40 | |
| 44 | 41 |    Services.prefs.setBoolPref("privacy.resistFingerprinting", true);
 | 
| 45 | 42 | 
| ... | ... | @@ -2679,12 +2679,7 @@ CSSIntRect nsRFPService::GetSpoofedScreenAvailSize(const nsRect& aRect, | 
| 2679 | 2679 | |
| 2680 | 2680 |  /* static */
 | 
| 2681 | 2681 |  uint64_t nsRFPService::GetSpoofedStorageLimit() {
 | 
| 2682 | -  uint64_t gib = 1024ULL * 1024ULL * 1024ULL;  // 1 GiB
 | |
| 2683 | -#ifdef ANDROID
 | |
| 2684 | -  uint64_t limit = 32ULL * gib;  // 32 GiB
 | |
| 2685 | -#else
 | |
| 2686 | -  uint64_t limit = 50ULL * gib;  // 50 GiB
 | |
| 2687 | -#endif
 | |
| 2682 | +  uint64_t limit = 50ULL * 1024ULL * 1024ULL * 1024ULL;  // 50 GiB
 | |
| 2688 | 2683 |    MOZ_ASSERT(limit / 5 ==
 | 
| 2689 | 2684 |               dom::quota::QuotaManager::GetGroupLimitForLimit(limit));
 | 
| 2690 | 2685 |