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

shivanigithub commented on this pull request.



> +  <p>If <var>request</var>'s <a for=request>client</a> is null, terminate these steps.</li>
+
+ <li>
+  <p>Let <var>environmentSettings</var> be <var>request</var>'s <a for=request>client</a>.</li>
+
+ <li>
+  <p>Let <var>topLevelOrigin</var> be <var>environmentSettings</var>'s top-level origin and
+  <var>origin</var> be <var>environmentSettings</var>'s origin.</li>
+
+ <li>
+  <p>Return the HTTP cache associated with <var>topLevelOrigin</var> and optionally,
+  <var>origin</var>.</li>
+</ol>
+
+<p class="note no-backref">User agents can use the registrable domains associated with
+<var>topLevelOrigin</var> and <var>origin</var> instead of the origins themselves.

Do you think we could leave the note regarding registrable domain altogether and let the spec just say "Return the HTTP cache associated with the <var>topLevelOrigin</var>, and optionally <var>origin</var>". In other words, is it ok for the spec to not be specific enough to mention registrable domain detail?

/cc @annevk : Does Firefox plan to use origin or registrable domain?

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

Received on Sunday, 16 February 2020 10:56:11 UTC