-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Description
My intuition from reading w3c/IndexedDB#334 and seeing whatwg/html#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:
- Let key be environment’s origin.
- If key is an opaque origin, then return failure.
- If the user has disabled storage, then return failure.
- Return key.
@whatwg/storage agreed?
inexorabletash
Metadata
Metadata
Assignees
Labels
No labels