diff --git a/fetch.bs b/fetch.bs index e0d4a87fa..dbf17712a 100644 --- a/fetch.bs +++ b/fetch.bs @@ -795,8 +795,7 @@ directly. Use get, decode, and split instead. value of the first such header to value and remove the others. -
  • Otherwise, append header (name, value) to - list. +

  • Otherwise, append (name, value) to list.

    To combine a @@ -841,7 +840,7 @@ a header list list, run these steps: of the headers in list.

  • -

    For each name in names: +

    For each name of names:

    1. Let value be the result of getting name @@ -1117,7 +1116,7 @@ is a byte-case-insensitive match for one of

    2. Let parsedValues be the result of getting, decoding, and splitting value. -

    3. For each method in parsedValues: if the +

    4. For each method of parsedValues: if the isomorphic encoding of method is a forbidden method, then return true.

    @@ -2077,7 +2076,7 @@ return true:
  • Let lastURL be null.

  • -

    For each url in request's URL list: +

    For each url of request's URL list:

    1. If lastURL is null, then set lastURL to url and @@ -4437,7 +4436,7 @@ steps:

      If response's type is "opaque", internalResponse's status is 206, internalResponse's range-requested flag is set, and request's - header list does not contain `Range`, + header list does not contain `Range`, then set response and internalResponse to a network error.

      @@ -5156,7 +5155,7 @@ run these steps: and done flag is unset.
    2. -

      For each fetchRecord in inflightRecords: +

      For each fetchRecord of inflightRecords:

      1. Let inflightRequest be fetchRecord's @@ -6026,7 +6025,7 @@ number of these fetches. byte-case-insensitive match for an item in headerNames, then return a network error. -

      2. For each unsafeName in the +

      3. For each unsafeName of the CORS-unsafe request-header names with request's header list, if unsafeName is not a byte-case-insensitive match for an item in headerNames and request's @@ -6443,19 +6442,18 @@ new Headers(meta2);

        1. -

          If object is a sequence, then for each header in +

          If object is a sequence, then for each header of object:

            -
          1. If header does not contain exactly two items, then throw a - {{TypeError}}. +

          2. If header's size is not 2, then throw a {{TypeError}}. -

          3. Append (header's first item, header's - second item) to headers. +

          4. Append (header[0], header[1]) to + headers.

        2. Otherwise, object is a record, then for each - keyvalue in object, append (key, + keyvalue of object, append (key, value) to headers.

        @@ -6510,7 +6508,7 @@ method steps are to append (name, value
      4. Otherwise, if this's guard is "response" and name is a forbidden response-header name, return. -

      5. If this's header list does not contain +

      6. If this's header list does not contain name, then return.

      7. Delete name from this's @@ -7436,9 +7434,8 @@ constructor steps are:

      8. Empty this's headers's header list.

      9. If headers is a {{Headers}} object, then for each - header in its header list, append - (header's name, header's value) to - this's headers. + header of its header list, append + header to this's headers.

      10. Otherwise, fill this's headers with headers.