@@ -2846,16 +2846,7 @@ steps:
2846
2846
<a>connection</a> .
2847
2847
</ol>
2848
2848
2849
- <li>
2850
- <p> Let <var> proxies</var> be the result of finding proxies for <var> url</var> in an
2851
- <a>implementation-defined</a> manner. If there are no proxies, let <var> proxies</var> be
2852
- « "<code> DIRECT</code> " ».
2853
-
2854
- <p class=note> This is where non-standard technology such as
2855
- <a href="https://en.wikipedia.org/wiki/Web_Proxy_Auto-Discovery_Protocol">Web Proxy Auto-Discovery Protocol (WPAD)</a>
2856
- and <a href="https://en.wikipedia.org/wiki/Proxy_auto-config">proxy auto-config (PAC)</a> come
2857
- into play. The "<code> DIRECT</code> " value means to not use a proxy for this particular
2858
- <var> url</var> .
2849
+ <li><p> Let <var> proxies</var> of calling <a>resolve proxies</a> .
2859
2850
2860
2851
<li><p> Let <var> timingInfo</var> be a new <a for=/>connection timing info</a> .
2861
2852
@@ -2912,6 +2903,19 @@ reused across <a>connections</a> whose <a for=connection>credentials</a> are fal
2912
2903
2913
2904
<hr>
2914
2905
2906
+ <div algorithm>
2907
+ <p> To <dfn>resolve proxies</dfn> , return the result of finding proxies for <var> url</var> in an
2908
+ <a>implementation-defined</a> manner. If there are no proxies, return « "<code> DIRECT</code> " ».
2909
+
2910
+ <p class=note> This is where non-standard technology such as
2911
+ <a href="https://en.wikipedia.org/wiki/Web_Proxy_Auto-Discovery_Protocol">Web Proxy Auto-Discovery Protocol (WPAD)</a>
2912
+ and <a href="https://en.wikipedia.org/wiki/Proxy_auto-config">proxy auto-config (PAC)</a> come
2913
+ into play. The "<code> DIRECT</code> " value means to not use a proxy for this particular
2914
+ <var> url</var> .
2915
+ </div>
2916
+
2917
+ <hr>
2918
+
2915
2919
<div algorithm>
2916
2920
<p> To <dfn>create a connection</dfn> , given a <a for=/>network partition key</a> <var> key</var> ,
2917
2921
<a for=/>origin</a> <var> origin</var> , boolean <var> credentials</var> , string <var> proxy</var> ,
@@ -3023,7 +3027,7 @@ details of reused connections are not exposed and time values are coarsened.
3023
3027
</div>
3024
3028
3025
3029
3026
- <h3 id=preemptive-connection-operations >Preemptive connection operations </h3>
3030
+ <h3 id=preemptive-connections >Preemptive connections </h3>
3027
3031
3028
3032
<div algorithm="preemmptively-obtain-a-connection">
3029
3033
<p> To <dfn export>preemptively obtain a connection</dfn> , given an
@@ -3066,13 +3070,11 @@ these steps:
3066
3070
<li><p> <a>Check CSP for preemptive operation</a> with <var> environment</var> and <var> url</var> . If
3067
3071
that returns <b> blocked</b> , return.
3068
3072
3069
- <li><p> Let <var> proxies</var> be the result of finding proxies for <var> url</var> in an
3070
- <a>implementation-defined</a> manner.
3073
+ <li><p> Let <var> proxies</var> be the result of calling <a>resolve proxies</a> .
3071
3074
3072
3075
<li>
3073
- <p> If <var> proxies</var> is <a for=list>empty</a> , or if <var> proxies</var>
3074
- <a for=list>contains</a> "<code> DIRECT</code> ", then <a>resolve an origin</a> given <var> key</var>
3075
- and <var> url</var> 's <a for=url>origin</a> .
3076
+ <p> If <var> proxies</var> <a for=list>contains</a> "<code> DIRECT</code> ", then
3077
+ <a>resolve an origin</a> given <var> key</var> and <var> url</var> 's <a for=url>origin</a> .
3076
3078
3077
3079
<p class=note> As the results of this algorithm can be cached, future fetches could be faster.
3078
3080
</ol>
@@ -3090,7 +3092,6 @@ run these steps:
3090
3092
3091
3093
<li><p> Return the result of running <a>should request be blocked by Content Security Policy?</a>
3092
3094
given <var> request</var> .
3093
-
3094
3095
</ol>
3095
3096
</div>
3096
3097
@@ -8782,7 +8783,7 @@ to discuss. [[CSP]]
8782
8783
<a>environment settings object</a> you're operating in. Web-exposed APIs are generally defined with
8783
8784
Web IDL, for which every object that implements an <a>interface</a> has a
8784
8785
<a>relevant settings object</a> you can use. For example, a <a for=/>request</a> associated with an
8785
- {{Element}} would set the <a for=/>request</a> 's <a for=request>client</a> to the element' s
8786
+ <a for=/>element</a> would set the <a for=/>request</a> 's <a for=request>client</a> to the element' s
8786
8787
<a>node document</a> 's <a>relevant settings object</a> . All features that are directly web-exposed
8787
8788
by JavaScript, HTML, CSS, or other {{Document}} subresources should have a
8788
8789
<a for=request>client</a> .
0 commit comments