Loading dom/quota/test/xpcshell/test_temporaryStorageRFP.js +1 −4 Original line number Diff line number Diff line Loading @@ -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); Loading toolkit/components/resistfingerprinting/nsRFPService.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -2679,12 +2679,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)); Loading Loading
dom/quota/test/xpcshell/test_temporaryStorageRFP.js +1 −4 Original line number Diff line number Diff line Loading @@ -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); Loading
toolkit/components/resistfingerprinting/nsRFPService.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -2679,12 +2679,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)); Loading