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

@annevk commented on this pull request.



> +
+<p class=XXX>Browsing session is yet to be formally defined. For all intents and purposes it is a
+<a>top-level browsing context</a>, except that it survives the <a>top-level browsing context</a>
+being replaced due to a cross-origin opener policy.
+
+
+<h3 id=storage-endpoints>Storage endpoints</h3>
+
+<p>A <dfn export>storage endpoint</dfn> is a storage or session storage API that uses the
+infrastructure defined by this standard to keep track of its storage needs.
+
+<p>A <a>storage endpoint</a> has an <dfn for="storage endpoint">identifier</dfn>, which is a
+<a>storage identifier</a>.
+
+<p>A <a>storage endpoint</a> also has <dfn for="storage endpoint">types</dfn>, which is a
+<a for=/>set</a> of <a>storage types</a>.

That's an alternative. I wanted to have something that could address the full set of use cases everyone had in mind. As it doesn't really affect what's observable I think it's fine to leave it in for a bit until those various ideas get more concrete.

It would also be somewhat annoying to have to refactor various specifications when those features arrive, but maybe it's not too bad.

-- 
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_r419577442

Received on Monday, 4 May 2020 16:49:24 UTC