Re: [whatwg/fetch] Define preconnect and dns-prefetch with CSP (PR #1620)

@valenting commented on this pull request.



> +<p>To <dfn export>preemptively resolve an origin</dfn>, given an
+<a>environment settings object</a> <var>environment</var> and a <a for=/>URL</a> <var>url</var>, run
+these steps:
+
+<ol>
+ <li><p>Let <var>key</var> be the result of <a for=/>determining the network partition key</a> given
+ <var>environment</var>.
+
+ <li><p><a>Check CSP for preemptive operation</a> with <var>environment</var> and <var>url</var>. If
+ that returns <b>blocked</b>, return.
+
+ <li><p>Let <var>proxies</var> be the result of finding proxies for <var>url</var> in an
+ <a>implementation-defined</a> manner.
+
+ <li>
+  <p>If there <var>proxies</var> is <a for=list>empty</a>, or if <var>proxies</var>

```suggestion
  <p>If <var>proxies</var> is <a for=list>empty</a>, or if <var>proxies</var>
```

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

Message ID: <whatwg/fetch/pull/1620/review/1349111884@github.com>

Received on Monday, 20 March 2023 17:46:53 UTC