diff --git a/fetch.bs b/fetch.bs index 98ff55c21..703ef30ce 100644 --- a/fetch.bs +++ b/fetch.bs @@ -2846,16 +2846,7 @@ steps: connection. -
Let proxies be the result of finding proxies for url in an
- implementation-defined manner. If there are no proxies, let proxies be
- « "DIRECT
" ».
-
-
This is where non-standard technology such as
- Web Proxy Auto-Discovery Protocol (WPAD)
- and proxy auto-config (PAC) come
- into play. The "DIRECT
" value means to not use a proxy for this particular
- url.
+
Let proxies of calling resolve proxies.
Let timingInfo be a new connection timing info. @@ -2912,6 +2903,19 @@ reused across connections whose credentials are fal
To resolve proxies, return the result of finding proxies for url in an
+implementation-defined manner. If there are no proxies, return « "DIRECT
" ».
+
+
This is where non-standard technology such as
+Web Proxy Auto-Discovery Protocol (WPAD)
+and proxy auto-config (PAC) come
+into play. The "DIRECT
" value means to not use a proxy for this particular
+url.
+
To create a connection, given a network partition key key, origin origin, boolean credentials, string proxy, @@ -3023,7 +3027,7 @@ details of reused connections are not exposed and time values are coarsened.
To preemptively obtain a connection, given an @@ -3066,13 +3070,11 @@ these steps:
Check CSP for preemptive operation with environment and url. If that returns blocked, return. -
Let proxies be the result of finding proxies for url in an - implementation-defined manner. +
Let proxies be the result of calling resolve proxies.
If proxies is empty, or if proxies
- contains "DIRECT
", then resolve an origin given key
- and url's origin.
+
If proxies contains "DIRECT
", then
+ resolve an origin given key and url's origin.
As the results of this algorithm can be cached, future fetches could be faster. @@ -3090,7 +3092,6 @@ run these steps:
Return the result of running should request be blocked by Content Security Policy? given request. -