[whatwg/storage] Add top-level site and cross site ancestry to storage key (PR #182)

This is taking over #144, and should be landed with or after the "cross site ancestry" is added to the environment in whatwg/html/pull/11133.

- [ ] At least two implementers are interested (and none opposed):
   * Google
   * …
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * There are many tentative tests which use a partitioned storage key (local storage, web locks, etc.).
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chromium: https://issues.chromium.org/u/2/issues/40177656?pli=1
   * Gecko: …
   * WebKit: …
- [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: …
- [ ] The top of this comment includes a [clear commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md) to use. <!-- If you created this PR from a single commit, Github copied its message. Otherwise, you need to add a commit message yourself. -->

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)


<!--
    This comment and the below content is programmatically 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/182.html" title="Last updated on Jun 20, 2025, 6:22 PM UTC (72237a2)">Preview</a> | <a href="https://whatpr.org/storage/182/b3c0fa9...72237a2.html" title="Last updated on Jun 20, 2025, 6:22 PM UTC (72237a2)">Diff</a>
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add top-level site and cross site ancestry to storage key
  * Adding old language involving tuple back in

-- File Changes --

    M storage.bs (29)

-- Patch Links --

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

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

Message ID: <whatwg/storage/pull/182@github.com>

Received on Friday, 20 June 2025 18:23:14 UTC