Pier Angelo Vendrame pushed to branch base-browser-140.4.0esr-15.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
e71d2634
by Fatih Kilic at 2025-10-22T14:56:30+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 |
| ... | ... | @@ -2672,12 +2672,7 @@ CSSIntRect nsRFPService::GetSpoofedScreenAvailSize(const nsRect& aRect, |
| 2672 | 2672 | |
| 2673 | 2673 | /* static */
|
| 2674 | 2674 | uint64_t nsRFPService::GetSpoofedStorageLimit() {
|
| 2675 | - uint64_t gib = 1024ULL * 1024ULL * 1024ULL; // 1 GiB
|
|
| 2676 | -#ifdef ANDROID
|
|
| 2677 | - uint64_t limit = 32ULL * gib; // 32 GiB
|
|
| 2678 | -#else
|
|
| 2679 | - uint64_t limit = 50ULL * gib; // 50 GiB
|
|
| 2680 | -#endif
|
|
| 2675 | + uint64_t limit = 50ULL * 1024ULL * 1024ULL * 1024ULL; // 50 GiB
|
|
| 2681 | 2676 | MOZ_ASSERT(limit / 5 ==
|
| 2682 | 2677 | dom::quota::QuotaManager::GetGroupLimitForLimit(limit));
|
| 2683 | 2678 |