From c267d4e902902b6db875b0865949c1be1c3633f5 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 4cf8dd65c..a9e1ab1b1 100644 --- a/fetch.bs +++ b/fetch.bs @@ -2850,7 +2850,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. @@ -2908,8 +2908,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) @@ -3033,7 +3034,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: @@ -3043,9 +3044,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. @@ -3062,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: @@ -3071,8 +3072,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. @@ -3085,7 +3086,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: