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

@annevk commented on this pull request.



>     <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 only.
+
    <li><p>Assert: <var>topLevelOrigin</var> is an <a for=/>origin</a>.

That only applies if the reserved client was null, but I think I can maybe improve this a bit by using otherwise more.

-- 
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#discussion_r435975584

Received on Friday, 5 June 2020 14:54:22 UTC