- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 18 May 2020 22:43:22 -0700
- To: whatwg/storage <storage@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 19 May 2020 05:43:34 UTC
My intuition from reading https://github.com/w3c/IndexedDB/pull/334 and seeing https://github.com/whatwg/html/issues/3054 is that we should have an "obtain a storage key" as standalone algorithm as well. It takes an environment and returns a storage key or failure. Initially it would encompass the first three steps of https://storage.spec.whatwg.org/#obtain-a-storage-shelf, namely: 1. Let key be environment’s origin. 2. If key is an opaque origin, then return failure. 3. If the user has disabled storage, then return failure. 4. Return key. @whatwg/storage agreed? -- 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/issues/92
Received on Tuesday, 19 May 2020 05:43:34 UTC