- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 08 May 2020 01:38:21 -0700
- To: whatwg/storage <storage@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 8 May 2020 08:38:34 UTC
@annevk commented on this pull request. > + <a for="environment settings object">origin</a>. + + <li><p>If <var>key</var> is an <a>opaque origin</a>, then return failure. + + <li><p>If the user has disabled storage, then return failure. + + <li> + <p>If <var>map</var>[<var>key</var>] does not <a for=map>exist</a>, then: + + <ol> + <li><p>Let <var>unit</var> be a new <a>storage unit</a>. + + <li><p>Set <var>unit</var>'s <a>bucket map</a>["<code>default</code>"] to the result of + <a>create a storage bucket</a> with <var>type</var>. + + <li><p>Set <var>map</var>[<var>key</var>] to <var>unit</var>. The type only matters all the way down so I'd prefer keeping the more generic structures free of them. -- 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_r422020844
Received on Friday, 8 May 2020 08:38:34 UTC