[whatwg/storage] "obtain a storage key" needs to operate on an environment (Issue #137)

Currently the "obtain a storage key" algorithm operates on an environment settings object.  For service workers, however, we need to obtain a storage key from a service worker client that may just be an environment.  For example, to obtain the service worker for a client before the navigation request completes and the environment is not loaded yet.

I'd like to change these algorithms to take environment instead of environment settings object.  The origin would be extracted from the creation URL.

@annevk WDYT?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/storage/issues/137
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/storage/issues/137@github.com>

Received on Tuesday, 1 March 2022 17:13:55 UTC