Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix terminology for a returned object with properties #9745

Merged
merged 1 commit into from
Oct 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions files/en-us/web/api/storagemanager/estimate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ None.

### Return value

A {{jsxref('Promise')}} that resolves to an object containing the following options:
A {{jsxref('Promise')}} that resolves to an object with the following properties:

- `quota` {{securecontext_inline}}
- `quota`
- : A numeric value in bytes which provides a conservative approximation of the total storage the user's device or computer has available for the site origin or Web app. It's possible that there's more than this amount of space available though you can't rely on that being the case.
- `usage` {{securecontext_inline}}
- `usage`
- : A numeric value in bytes approximating the amount of storage space currently being used by the site or Web app, out of the available space as indicated by `quota`. Unit is byte.
- `usageDetails` {{securecontext_inline}}
- : A dictionary containing a breakdown of `usage` by storage system. All included members will have a `usage` greater than 0 and any storage system with 0 `usage` will be excluded from the dictionary.
- `usageDetails`
- : An object containing a breakdown of `usage` by storage system. All included properties will have a `usage` greater than 0 and any storage system with 0 `usage` will be excluded from the object.

> **Note:** The returned values are not exact: between compression, deduplication, and obfuscation for security reasons, they will be imprecise.

Expand Down