WICG / storage-foundation-api-explainer

Explainer showcasing a new web storage API, NativeIO
Apache License 2.0
63 stars 8 forks source link

Should align with `StorageEstimate` #25

Open tomayac opened 3 years ago

tomayac commented 3 years ago

The StorageEstimate API returns storage quota information as usage and quota.

[▉Usage▉▉▉][_Remaining_____]
[_Quota____________________]

The Storage Foundation API only supports getRemainingCapacity(), forcing the developer to first calculate current usage before being able to tell the total quota.

[_Remaining_____]