I think this is really simple and effective if all the browsers will implement the same API for retrieving key/value pairs from Session.

This means, though, that when we want to use CookieStorage as a service, we will have to provide a similar API so that an orchestration layer will not have to worry about whether this is a Session storage or a Cookie storage or a Reddit storage. It should only be concerned with key(), getItem(), setItem(), removeItem(), clear() etc.

Should we create a layer above SessionStorage called just Storage() that abstracts the individual implementations of these Storage Services right now or just implement new Storage services that follow the Session storage API?