@@ -2850,7 +2850,7 @@ steps:
28502850 <a>connection</a> .
28512851 </ol>
28522852
2853- <li><p> Let <var> proxies</var> of calling <a>resolve proxies</a> .
2853+ <li><p> Let <var> proxies</var> of calling <a>resolve proxies</a> given <var> url </var> .
28542854
28552855 <li><p> Let <var> timingInfo</var> be a new <a for=/>connection timing info</a> .
28562856
@@ -2908,8 +2908,9 @@ reused across <a>connections</a> whose <a for=connection>credentials</a> are fal
29082908<hr>
29092909
29102910<div algorithm>
2911- <p> To <dfn>resolve proxies</dfn> , return the result of finding proxies for <var> url</var> in an
2912- <a>implementation-defined</a> manner. If there are no proxies, return « "<code> DIRECT</code> " ».
2911+ <p> To <dfn>resolve proxies</dfn> given a <a for=/>URL</a> <var> url</var> , return the result of
2912+ finding proxies for <var> url</var> in an <a>implementation-defined</a> manner. If there are no
2913+ proxies, return « "<code> DIRECT</code> " ».
29132914
29142915<p class=note> This is where non-standard technology such as
29152916<a href="https://en.wikipedia.org/wiki/Web_Proxy_Auto-Discovery_Protocol">Web Proxy Auto-Discovery Protocol (WPAD)</a>
@@ -3033,7 +3034,7 @@ details of reused connections are not exposed and time values are coarsened.
30333034
30343035<h3 id=preemptive-connections>Preemptive connections</h3>
30353036
3036- <div algorithm="preemmptively-obtain-a-connection" >
3037+ <div algorithm>
30373038<p> To <dfn export>preemptively obtain a connection</dfn> , given an
30383039<a>environment settings object</a> <var> environment</var> , a <a for=/>URL</a> <var> url</var> , and a
30393040boolean <var> credentials</var> , run these steps:
@@ -3043,9 +3044,9 @@ boolean <var>credentials</var>, run these steps:
30433044 <var> environment</var> .
30443045
30453046 <li>
3046- <p> <a>Check CSP for preemptive operation</a> with <var> environment </var> and <var> url </var> . If
3047- that returns <b> allowed </b> , <a>obtain a connection</a> with < var>key </var> , <var> url </var> and
3048- <var> credentials</var> .
3047+ <p> Run <a>Should connection be allowed by Content Security Policy?</a> with
3048+ <var> environment </var> and < var>url </var> . If that returns <b> allowed </b> ,
3049+ <a>obtain a connection</a> with <var> key </var> , <var> url </var> , and < var> credentials</var> .
30493050
30503051 <p class=note> This connection is obtained but not used directly. It will remain in the
30513052 <a>connection pool</a> for subsequent use.
@@ -3062,7 +3063,7 @@ boolean <var>credentials</var>, run these steps:
30623063</ol>
30633064</div>
30643065
3065- <div algorithm="preemmptively-resolve-an-origin" >
3066+ <div>
30663067<p> To <dfn export>preemptively resolve an origin</dfn> , given an
30673068<a>environment settings object</a> <var> environment</var> and a <a for=/>URL</a> <var> url</var> , run
30683069these steps:
@@ -3071,8 +3072,8 @@ these steps:
30713072 <li><p> Let <var> key</var> be the result of <a for=/>determining the network partition key</a> given
30723073 <var> environment</var> .
30733074
3074- <li><p> <a>Check CSP for preemptive operation</a> with <var> environment </var> and <var> url </var> . If
3075- that returns <b> blocked</b> , return.
3075+ <li> Run <p> <a>Should connection be allowed by Content Security Policy?</a> with
3076+ <var> environment </var> and <var> url </var> . If that returns <b> blocked</b> , return.
30763077
30773078 <li><p> Let <var> proxies</var> be the result of calling <a>resolve proxies</a> .
30783079
@@ -3085,7 +3086,7 @@ these steps:
30853086</div>
30863087
30873088<div algorithm="check-preemptive-operation-csp">
3088- <p> To <dfn>check CSP for preemptive operation </dfn> , given an
3089+ <p> To <dfn>Should connection be allowed by Content Security Policy? </dfn> , given an
30893090<a>environment settings object</a> <var> environment</var> , and a <a for=/>URL</a> <var> url</var> ,
30903091run these steps:
30913092
0 commit comments