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

@annevk commented on this pull request.



> @@ -239,7 +238,18 @@ anticipated that some APIs will be applicable to both <a>storage types</a> going
  <a>environment settings object</a>; otherwise <var>environment</var>'s
  <a for=environment>creation URL</a>'s <a for=url>origin</a>.
 
- <li><p>Return a <a>tuple</a> consisting of <var>origin</var>.
+ <li><p>Let <var>topLevelOrigin</var> be <var>environment</var>'s
+ <a for=environment>top-level origin</a>.
+
+ <li><p>If <var>topLevelOrigin</var> is null, then set it to <var>origin</var>.
+
+ <li><p>Let <var>topLevelSite</var> be the result of <a>obtaining a site</a> given
+ <var>topLevelOrigin</var>.
+
+ <li><p>Let <var>crossSiteAncestry</var> be <var>environment</var>'s
+ <a for=environment>cross-site ancestry</a>.

It's been a long time since I looked at all this, but I think pre-ESO is important for service worker allocation.

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

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

Received on Tuesday, 29 July 2025 06:26:59 UTC