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

@asutherland approved this pull request.

Multiple buckets, here we come!  Thank you!

> +"<code>local</code>", <var>environment</var>, and <var>identifier</var>.
+
+<p>To <dfn export>obtain a session storage bottle map</dfn>, given an
+<a for=/>environment settings object</a> <var>environment</var> and <a>storage identifier</a>
+<var>identifier</var>, return the result of running <a>obtain a storage bottle map</a> with
+"<code>session</code>", <var>environment</var>, and <var>identifier</var>.
+
+
+<h3 id=storage-proxy-maps>Storage proxy maps</h3>
+
+<p>A <dfn>storage proxy map</dfn> is equivalent to a <a for=/>map</a>, except that all operations
+are instead performed on its <dfn for="storage proxy map">backing map</dfn>.
+
+<p class="XXX">This allows for the <a for="storage proxy map">backing map</a> to be replaced. This
+is needed for <a href="https://github.com/whatwg/storage/issues/4">issue #4</a> and potentially the
+<a href="https://privacycg.github.io/storage-access/">Storage Access API</a>.

I also share this concern, although it seems like that's a future-work follow-up on the "replace" algorithm proposed at the bottom of https://github.com/whatwg/storage/issues/18#issuecomment-614751336 ?

I'm assuming that's what's going to happen, in which case we might as well wait, as it seems likely to be non-trivial.

-- 
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#pullrequestreview-410369066

Received on Tuesday, 12 May 2020 19:50:25 UTC