
A browser’s storage estimate describes an origin’s current conditions. A downloaded game pack needs a strategy for an interrupted write and for data that might later be evicted. The browser interface at the center of this behavior is StorageManager.
The interface behind the interaction
The useful boundary for this test is the point where StorageManager hands control back to the application. Write down what the user did just before that point and which result the page could observe. This makes a failure reproducible even when two devices show different prompts or expose different hardware.
What to record during the test
Estimate quota and usage, record the size of one optional pack and simulate a failed download before the manifest changes. Reopen the app with the network off.
Capture one baseline run before changing the device configuration. For the second run, change just the condition under investigation and repeat the same action. This is especially helpful when a browser update, a peripheral change and an application release all arrive in the same week.
Check the individual members
The compatibility record for a whole interface can predate a particular capability. The implementation decision for StorageManager depends on which member the application actually uses. Read the three desktop entries in order: Chrome, Firefox, then Safari.
estimate— version 61, version 57, version 17.getDirectory— version 86, version 111, version 15.2.persist— version 55, version 57, version 15.2.
Which browsers record support for StorageManager?
All six browser families in the table have an unprefixed entry without a flag or a partial-implementation marker for this interface. The earliest recorded versions differ across families. A broad row of positive entries still leaves individual members, device access and platform limits to examine.
| Browser family | First recorded standard entry |
|---|---|
| Chrome desktop | Version 55 |
| Firefox desktop | Version 57 |
| Safari on macOS | Version 15.2 |
| Chrome on Android | Version 55 |
| Firefox on Android | Version 57 |
| Safari on iOS | Version 15.2 |
Source snapshot: MDN Browser Compatibility Data 8.1.10, 19 November 2026. “Version” is the first recorded entry in this comparison. Individual methods can have later introduction dates.
Plan for the unavailable case
Expose a per-pack removal action and keep enough free space for a staged replacement. An estimate is not a reservation.
typeof globalThis.StorageManager !== "undefined"This expression checks the interface or property in the current JavaScript environment. A positive answer does not run the device test above. Consult the member-level entries for estimate, getDirectory, persist when any of them is a requirement.
Sources and further reading
- StorageManager reference and member details
- Interface specification
- MDN compatibility data, version 8.1.10
Cover photograph: NVMe SSd by User5515. CC0. Cropped and typeset for this cover. The photograph illustrates the topic.
