diff --git a/fetch.bs b/fetch.bs index a9e1ab1b1..496c67b04 100644 --- a/fetch.bs +++ b/fetch.bs @@ -2850,7 +2850,7 @@ steps: connection. -
Let proxies of calling resolve proxies given url. +
Let proxies be the result of calling resolve proxies given url.
Let timingInfo be a new connection timing info. @@ -3044,8 +3044,8 @@ boolean credentials, run these steps: environment.
Run Should connection be allowed by Content Security Policy? with - environment and url. If that returns allowed, +
Run determine if Content Security Policy allows connection with + environment and url. If that returns true, obtain a connection with key, url, and credentials.
This connection is obtained but not used directly. It will remain in the @@ -3063,7 +3063,7 @@ boolean credentials, run these steps: -
To preemptively resolve an origin, given an environment settings object environment and a URL url, run these steps: @@ -3072,8 +3072,8 @@ these steps:
Let key be the result of determining the network partition key given environment. -
Should connection be allowed by Content Security Policy? with - environment and url. If that returns blocked, return. +
determine if Content Security Policy allows connection with + environment and url. If that returns false, return.
Let proxies be the result of calling resolve proxies. @@ -3085,18 +3085,19 @@ these steps:
To Should connection be allowed by Content Security Policy?, given an -environment settings object environment, and a URL url, -run these steps: +
To determine if Content Security Policy allows connection, given an +environment settings object environment, and a URL url:
Let request be a request whose URL is
url, initiator is "prefetch
", and whose
client is environment.
-
Return the result of running should request be blocked by Content Security Policy? - given request. +
Let result be the result of running + should request be blocked by Content Security Policy? given request. + +
Return true if result is allowed, otherwise false.