Re: [whatwg/fetch] Integration with preload (PR #1342)

@yoavweiss commented on this pull request.



> +   <li><p><var>request</var>'s <a for=request>unsafe-request flag</a> is not set, or
+   <var>request</var>'s <a for=request>header list</a> <a for="list">is empty</a>
+  </ul>
+
+  <p>then perform the following steps:
+
+  <ol>
+   <li><p>Assert: <var>request</var>'s <a for=request>origin</a> is <var>request</var>'s
+   <a for=request>client</a>'s <a for="environment settings object">origin</a>.
+
+   <li><p>Let <var>onPreloadedResponseAvailable</var> be to an algorithm that runs the following
+   step <a>in parallel</a> given <a for=/>response</a> <var>response</var>: run
+   <a>fetch finale</a> given <var>response</var> and <var>fetchParams</var>.
+
+   <li><p>Let <var>foundPreloadedResource</var> be the result of invoking
+   <a>consume a preloaded resource</a> for <var>req</var>'s <a for=request>window</a>,

Is "consume a preloaded resource" defined elsewhere? I'm failing to find it..

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1342#pullrequestreview-877271852
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1342/review/877271852@github.com>

Received on Wednesday, 9 February 2022 10:50:09 UTC