Re: [whatwg/storage] Proposal: Add detailed usage breakdown in estimate() (#63)

Based on the comments above, I would like to holistically recap what we're thinking right now.

```webidl
dictionary StorageEstimate {
  unsigned long long usage;
  unsigned long long quota;
  StorageUsageDetails usageDetails;
};

dictionary StorageUsageDetails {
  unsigned long long indexedDB;
  unsigned long long caches;
  unsigned long long serviceWorkerRegistrations;
};
```

The `StorageUsageDetails` dictionary will only contain members that have a usage greater than 0.

*Note*: Chrome also intends to ship with an `applicationCache` member of the `StorageUsageDetails` dictionary.

Thank you to @aliams @annevk @asutherland @domenic @inexorabletash @ralphch0 for your feedback.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/storage/issues/63#issuecomment-441857897

Received on Tuesday, 27 November 2018 01:01:42 UTC