From c005718b63b40852ee9680e241b809a33e0dee1a Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Sun, 7 May 2023 13:09:14 +0300 Subject: [PATCH] A few editorial nits --- fetch.bs | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/fetch.bs b/fetch.bs index 89fa0847e..5fb28b929 100644 --- a/fetch.bs +++ b/fetch.bs @@ -2846,7 +2846,7 @@ steps: connection. -
  • Let proxies of calling resolve proxies. +

  • Let proxies of calling resolve proxies given url.

  • Let timingInfo be a new connection timing info. @@ -2904,8 +2904,9 @@ 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" ». +

    To resolve proxies given a URL url, 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) @@ -3029,7 +3030,7 @@ details of reused connections are not exposed and time values are coarsened.

    Preemptive connections

    -
    +

    To preemptively obtain a connection, given an environment settings object environment, a URL url, and a boolean credentials, run these steps: @@ -3039,9 +3040,9 @@ boolean credentials, run these steps: environment.

  • -

    Check CSP for preemptive operation with environment and url. If - that returns allowed, obtain a connection with key, url and - credentials. +

    Run Should connection be allowed by Content Security Policy? with + environment and url. If that returns allowed, + obtain a connection with key, url, and credentials.

    This connection is obtained but not used directly. It will remain in the connection pool for subsequent use. @@ -3058,7 +3059,7 @@ boolean credentials, run these steps: -

    +

    To preemptively resolve an origin, given an environment settings object environment and a URL url, run these steps: @@ -3067,8 +3068,8 @@ these steps:

  • Let key be the result of determining the network partition key given environment. -

  • Check CSP for preemptive operation with environment and url. If - that returns blocked, return. +

  • Run

    Should connection be allowed by Content Security Policy? with + environment and url. If that returns blocked, return.

  • Let proxies be the result of calling resolve proxies. @@ -3081,7 +3082,7 @@ these steps:

    -

    To check CSP for preemptive operation, given an +

    To Should connection be allowed by Content Security Policy?, given an environment settings object environment, and a URL url, run these steps: