Re: [whatwg/storage] Make it clear that quota is not supposed to be a function of availabl… (#108)

@domenic commented on this pull request.



>  
 <p class=note>This cannot be an exact amount as user agents might, and are encouraged to, use
 deduplication, compression, and other techniques that obscure exactly how much bytes a
 <a>storage shelf</a> uses.
 
-<p>The <dfn export>storage quota</dfn> of a <a>storage shelf</a> is a conservative estimate of the
-total amount of bytes it can hold. This amount should be less than the total available storage space
-on the device to give users some wiggle room.
+<p>The <dfn export>storage quota</dfn> of a <a>storage shelf</a> is an <a>implementation-defined</a>
+conservative estimate of the total amount of bytes it can hold. This amount should be less than the
+total storage space on the device. It must not be a function of the available storage space on the
+device.

It'd be good to add a note explaining why.

-- 
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/pull/108#pullrequestreview-443348698

Received on Monday, 6 July 2020 19:25:49 UTC