@@ -2850,7 +2850,7 @@ steps:
2850
2850
<a>connection</a> .
2851
2851
</ol>
2852
2852
2853
- <li><p> Let <var> proxies</var> of calling <a>resolve proxies</a> given <var> url</var> .
2853
+ <li><p> Let <var> proxies</var> be the result of calling <a>resolve proxies</a> given <var> url</var> .
2854
2854
2855
2855
<li><p> Let <var> timingInfo</var> be a new <a for=/>connection timing info</a> .
2856
2856
@@ -3044,8 +3044,8 @@ boolean <var>credentials</var>, run these steps:
3044
3044
<var> environment</var> .
3045
3045
3046
3046
<li>
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> ,
3047
+ <p> Run <a>determine if Content Security Policy allows connection </a> with
3048
+ <var> environment</var> and <var> url</var> . If that returns true ,
3049
3049
<a>obtain a connection</a> with <var> key</var> , <var> url</var> , and <var> credentials</var> .
3050
3050
3051
3051
<p class=note> This connection is obtained but not used directly. It will remain in the
@@ -3063,7 +3063,7 @@ boolean <var>credentials</var>, run these steps:
3063
3063
</ol>
3064
3064
</div>
3065
3065
3066
- <div>
3066
+ <div algorithm >
3067
3067
<p> To <dfn export>preemptively resolve an origin</dfn> , given an
3068
3068
<a>environment settings object</a> <var> environment</var> and a <a for=/>URL</a> <var> url</var> , run
3069
3069
these steps:
@@ -3072,8 +3072,8 @@ these steps:
3072
3072
<li><p> Let <var> key</var> be the result of <a for=/>determining the network partition key</a> given
3073
3073
<var> environment</var> .
3074
3074
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.
3075
+ <li> Run <p> <a>determine if Content Security Policy allows connection </a> with
3076
+ <var> environment</var> and <var> url</var> . If that returns false , return.
3077
3077
3078
3078
<li><p> Let <var> proxies</var> be the result of calling <a>resolve proxies</a> .
3079
3079
@@ -3085,18 +3085,19 @@ these steps:
3085
3085
</ol>
3086
3086
</div>
3087
3087
3088
- <div algorithm="check-preemptive-operation-csp">
3089
- <p> To <dfn>Should connection be allowed by Content Security Policy?</dfn> , given an
3090
- <a>environment settings object</a> <var> environment</var> , and a <a for=/>URL</a> <var> url</var> ,
3091
- run these steps:
3088
+ <div algorithm>
3089
+ <p> To <dfn>determine if Content Security Policy allows connection</dfn> , given an
3090
+ <a>environment settings object</a> <var> environment</var> , and a <a for=/>URL</a> <var> url</var> :
3092
3091
3093
3092
<ol>
3094
3093
<li><p> Let <var> request</var> be a <a for=/>request</a> whose <a for=request>URL</a> is
3095
3094
<var> url</var> , <a for=request>initiator</a> is "<code> prefetch</code> ", and whose
3096
3095
<a for=request>client</a> is <var> environment</var> .
3097
3096
3098
- <li><p> Return the result of running <a>should request be blocked by Content Security Policy?</a>
3099
- given <var> request</var> .
3097
+ <li><p> Let <var> result</var> be the result of running
3098
+ <a>should request be blocked by Content Security Policy?</a> given <var> request</var> .
3099
+
3100
+ <li><p> Return true if <var> result</var> is <b> allowed</b> , otherwise false.
3100
3101
</ol>
3101
3102
</div>
3102
3103
0 commit comments