Re: [whatwg/storage] Clarify storage infrastructure (#86)

@asutherland commented on this pull request.



> +<a for=/>storage shed</a>.
+
+<p>A browsing session holds a <dfn for="browsing session">storage shed</dfn>, which is a
+<a for=/>storage shed</a>.
+
+<p class="XXX" id=lack-of-browsing-session>See
+<a href="https://github.com/whatwg/html/issues/4782">whatwg/html issue #4782</a> and
+<a href="https://github.com/whatwg/html/issues/5350">whatwg/html issue #5350</a> for defining
+browsing session. It is roughly analogous to <a>top-level browsing context</a> except that it cannot
+be replaced due to <code>Cross-Origin-Opener-Policy</code> or navigation.
+
+
+<h3 id=storage-shelves>Storage shelves</h3>
+
+<p>A <dfn oldids=site-storage-unit lt="storage shelf|storage shelves">storage shelf</dfn> is the
+biggest storage container, apart from the user agent itself. It holds a <dfn>bucket map</dfn>, which

I also find this bit a little odd and after the terminology change probably no longer necessary to clarify the sizes beyond the hierarchical containment relationship.

Right now it's:
> A storage shelf is the biggest storage container, apart from the user agent itself. It holds a bucket map, which is a map of strings to storage buckets. 

And maybe it could instead be something like:
> **A storage shelf is the unit of per-origin data storage within a storage shed.**  It holds a bucket map, which is a map of strings to storage buckets. 

Alternately:
> **A storage shelf exists for each origin within a storage shed.  Each storage shelf holds a bucket map that maps strings to storage buckets.**

-- 
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/86#discussion_r423968648

Received on Tuesday, 12 May 2020 19:08:30 UTC