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

@domenic approved this pull request.



> +<dfn lt="determine the HTTP cache partition|determining the HTTP cache partition">determine the HTTP cache partition</dfn>,
+given <var>request</var>, run these steps:
+
+<ol>
+ <li><p>Let <var>environmentSettings</var> be <var>request</var>'s
+ <a for=request>client</a>.
+
+ <li><p>If <var>environmentSettings</var> is null, then return null.
+
+ <li><p>Let <var>topLevelOrigin</var> be <var>environmentSettings</var>'s
+ <a for="environment settings object">top-level origin</a>.
+
+ <li><p>Let <var>topLevelSite</var> be the result of
+ <a lt="obtain a site">obtaining a site</a>, given <var>topLevelOrigin</var>.
+
+ <li><p>Return the HTTP cache associated with <var>topLevelSite</var> and possibly, a second key.

```suggestion
 <li><p>Return the HTTP cache associated with <var>topLevelSite</var> and, possibly, a second key.
```

-- 
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-381429943

Received on Wednesday, 25 March 2020 18:35:54 UTC