Repository navigation
Add note about Chrome for storage manager quota - #7846
Conversation
Preview URLsFlawsNone! 🎉 External URLsURL: No new external URLs (this comment was updated 2021-08-16 09:59:06.591124) |
Elchi3
left a comment
There was a problem hiding this comment.
Thanks for your PR! Let's keep this note vendor neutral
| <p>A numeric value specifying an approximation of the total amount of storage space available for use by the application.</p> | ||
|
|
||
| <div class="note"> | ||
| <p><strong>Note</strong>: Chrome always reports 60% of the actual disk size for privacy reasons.</p> |
There was a problem hiding this comment.
| <p><strong>Note</strong>: Chrome always reports 60% of the actual disk size for privacy reasons.</p> | |
| <p><strong>Note:</strong> User agents might not report the actual storage space for privacy reasons.</p> |
There was a problem hiding this comment.
I'm tryin to raise that the quota may be larger than what is actually available to websites. This is confusing to developers.
There was a problem hiding this comment.
Would "User agents might not report the actual storage space for privacy reasons. Chrome, for instance, always reports 60% of the actual disk size." work for you?
There was a problem hiding this comment.
That would be much better, imo. If you happen to know if it is just "Chrome" or rather "Chromium-based browsers", then that would be good to be precise about, too.
There was a problem hiding this comment.
It seems to be Chrome-specific according to GoogleChrome/web.dev#3896
There was a problem hiding this comment.
I've updated PR. Let me know if that still looks good to you.
Elchi3
left a comment
There was a problem hiding this comment.
Looks good to me, thanks for making the changes and alerting web devs about it. Cheers 🎉
As noted in https://web.dev/storage-for-the-web/#:~:text=60%25%20of%20the%20actual%20disk%20size, Chrome always reports 60% of the actual disk size in the StorageManager API for privacy reasons.