v148 · storage · privacy
Predictable reported storage quota
Chrome 148 changes navigator.storage.estimate() to return a consistent artificial quota for sites without unlimited storage permissions, closing a channel that scripts used to detect Incognito mode.
at a glance
| Shipped in | Chrome 148 (desktop, Android, WebView; milestone 148 listing) |
|---|---|
| Status | Enabled by default |
| Flag | On by default; kill switch chrome://flags/#predictable-reported-quota (feature StaticStorageQuota, FEATURE_ENABLED_BY_DEFAULT in M148 quota_features.cc; flag entry in M148 about_flags.cc) |
| Standards position (Firefox) | No signal |
| Standards position (Safari) | No signal |
| Blink component | Blink>Storage>Quota |
| Chromium bug | issues.chromium.org/369865059 |
| ChromeStatus | 4977371751645184 — Predictable reported storage quota (API record) |
why it exists
Before Chrome 148, navigator.storage.estimate() returned very different quota values depending on the browsing mode. In a normal window Chrome reported a quota derived from the full disk (often tens of gigabytes); in Incognito the quota was a small fixed amount (often a few hundred megabytes). Analytics and paywall libraries exploited this gap to reliably detect Incognito mode — a privacy bypass that could not be patched at the application layer.
Chrome 148 closes the gap by reporting an artificial quota equal to usage + min(10 GiB, disk rounded up to the nearest 1 GiB) in every browsing mode for sites without the unlimited-storage permission. Origins that Chrome’s special storage policy treats as unlimited (for example extensions with the unlimitedStorage permission) continue to receive the real quota; in Chromium 148’s quota manager the exemption check is IsStorageUnlimited(), not navigator.storage.persisted(). Enforced eviction thresholds are unaffected.
syntax
There is no new surface. The change affects the value returned by the existing StorageManager.estimate() method. Formal syntax, verbatim from the Storage Standard §API:
[SecureContext]
interface mixin NavigatorStorage {
[SameObject] readonly attribute StorageManager storage;
};
Navigator includes NavigatorStorage;
WorkerNavigator includes NavigatorStorage;
[SecureContext,
Exposed=(Window,Worker)]
interface StorageManager {
Promise<boolean> persisted();
[Exposed=Window] Promise<boolean> persist();
Promise<StorageEstimate> estimate();
};
dictionary StorageEstimate {
unsigned long long usage;
unsigned long long quota;
};
estimate() rejects with a TypeError if no local storage shelf can be obtained (e.g. an opaque origin); otherwise it resolves with { usage, quota }. The spec leaves storage quota implementation-defined but says it “must not be a function of the available storage space on the device”. Chrome 148’s reported value, from CalculateReportedQuota() in quota_manager_impl.cc:
reportedQuota = usage + (totalSpace >= 10 GiB
? 10 GiB
: ceil(totalSpace / 1 GiB) × 1 GiB)
In that code a separate, default-off feature (IncognitoStaticStorageQuota) forces the 10 GiB branch in Incognito. The enforced quota (when writes actually fail) is unchanged.
| Property | Type | Behaviour in Chrome 148+ |
|---|---|---|
StorageEstimate.quota | number | Artificial ceiling: usage + min(10 GiB, disk ↑ 1 GiB) for limited-permission sites |
StorageEstimate.usage | number | Actual bytes used by the origin — unchanged |
example
const { usage, quota } = await navigator.storage.estimate();
// Chrome 148+: both a normal window and an Incognito window see
// the same quota for the same origin (for non-unlimited sites).
console.log(`used: ${(usage / 1e6).toFixed(1)} MB`);
console.log(`quota: ${(quota / 1e9).toFixed(1)} GB`);
// Percentage-of-used calculations remain valid; the absolute
// quota figure is now an artificial privacy-preserving value.
const pct = (usage / quota) * 100;
if (pct > 80) showStorageWarning();
// persisted() reports eviction protection; it is not the exemption.
// Only origins the browser treats as unlimited-storage (for example
// extensions with "unlimitedStorage") get the real quota value.
const persisted = await navigator.storage.persisted();
Pattern from developer.chrome.com — Estimating Available Storage Space
Live demo
All five interactive demos are on the chrome-platform-showcase feature page. The embed below is the quota inspector concept, which calls estimate() in your browser.
browser compatibility
BCD has no entry for the predictable-quota behaviour (it is a value change, not a new member), so that column is interim data from ChromeStatus. The estimate() column is from BCD api/StorageManager.json (fetched raw 2026-11-15).
| Browser | estimate() (BCD) | Predictable quota (interim) | Notes |
|---|---|---|---|
| Chrome | 61 | 148 | Desktop, Android and WebView 148 per ChromeStatus; listed “Enabled by default” in the milestone-148 listing. |
| Edge | 79 | Unknown | BCD "edge": "mirror" for estimate(). No public record found of whether Edge keeps the StaticStorageQuota default. |
| Firefox | 57 | No signal | estimate() exists; Firefox computes its own quota. Position: no signal (ChromeStatus). |
| Safari | 17 | No signal | estimate() exists; Safari computes its own quota. Position: no signal (ChromeStatus). |
specifications
| Specification | Status |
|---|---|
Storage Standard — StorageManager.estimate() | Living Standard. The predictable value itself is a Chrome implementation choice inside the spec’s implementation-defined storage quota; ChromeStatus lists no spec for it. |
spec_link: null).