Closed annevk closed 4 years ago
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:
@whatwg/storage agreed?
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:
@whatwg/storage agreed?