Re: [whatwg/fetch] HTTP cache partitioning (#943)

@shivanigithub commented on this pull request.



> + <li>
+  <p>If <var>topLevelOrigin</var> is null and <var>request</var>'s
+  <a for=request>reserved client</a> is non-null, then:
+
+  <ol>
+   <li><p>Set <var>topLevelOrigin</var> to <var>request</var>'s <a for=request>reserved client</a>'s
+   <a for="environment">top-level origin</a>.
+
+   <li>
+    <p>If <var>topLevelOrigin</var> is null, then set <var>topLevelOrigin</var> to
+    <var>request</var>'s <a for=request>reserved client</a>'s
+    <a for="environment">top-level creation URL</a>'s <a for=url>origin</a>.
+
+    <p class=note>This happens for top-level navigations.
+  </ol>
+

How does https://github.com/whatwg/fetch/pull/943#discussion_r410351876 work with this? As per the first condition it will be client's topLevelOrigin, but wouldn't that map to A/B instead of C?

-- 
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/fetch/pull/943#pullrequestreview-425326932

Received on Friday, 5 June 2020 13:59:36 UTC