[whatwg/storage] Add obtain a storage key (#93)

This can be used by APIs that share keying logic with storage, such as BroadcastChannel and shared workers.

Also add and export create a storage shelf so HTML can more cleanly clone sessionStorage data as part of https://github.com/whatwg/html/pull/5560.

Closes #92.


<!--
    This comment and the below content is programatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/storage/93.html" title="Last updated on May 20, 2020, 11:20 AM UTC (bd7a465)">Preview</a> | <a href="https://whatpr.org/storage/93/42510ac...bd7a465.html" title="Last updated on May 20, 2020, 11:20 AM UTC (bd7a465)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/storage/pull/93

-- Commit Summary --

  * Add obtain a storage key

-- File Changes --

    M storage.bs (59)

-- Patch Links --

https://github.com/whatwg/storage/pull/93.patch
https://github.com/whatwg/storage/pull/93.diff

-- 
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/pull/93

Received on Wednesday, 20 May 2020 11:20:47 UTC