Re: [whatwg/storage] Add 'obtain a storage key for non-storage purposes' (PR #132)

@annevk commented on this pull request.

This looks good to me. I'd maybe put it below the "main" algorithm, but I think this works.

> @@ -203,6 +203,16 @@ anticipated that some APIs will be applicable to both <a>storage types</a> going
 <p class=XXX>This is expected to change; see
 <a href="https://privacycg.github.io/storage-partitioning/">Client-Side Storage Partitioning</a>.
 
+<p>To <dfn export>obtain a storage key for non-storage purposes</dfn>, given an <a>environment
+settings object</a> <var>environment</var>, run these steps:
+
+<ol>
+ <li><p>Let <var>key</var> be <var>environment</var>'s
+ <a for="environment settings object">origin</a>.

You forgot to remove this step from the algorithm below.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/storage/pull/132#pullrequestreview-876419287
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/storage/pull/132/review/876419287@github.com>

Received on Tuesday, 8 February 2022 17:48:25 UTC