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

@pwnall 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.

I think this paragraph change is similar to #106, which says "to avoid facilitating a cross-origin resource size leak"

-- 
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#discussion_r450437762

Received on Monday, 6 July 2020 19:35:31 UTC