diff --git a/fetch.bs b/fetch.bs index 8eaf33820..cf6d863a6 100644 --- a/fetch.bs +++ b/fetch.bs @@ -6384,6 +6384,23 @@ constructor steps are: header list is request's header list, and guard is "request". +
  • +

    If this's request's mode is + "no-cors", then: + +

      +
    1. If this's request's method is not a + CORS-safelisted method, then throw a {{TypeError}}. + + +

    2. Set this's headers's guard to + "request-no-cors". +

    +
  • +
  • If init is not empty, then: @@ -6400,19 +6417,6 @@ constructor steps are:

  • Empty this's headers's header list. -

  • -

    If this's request's mode is - "no-cors", then: - -

      -
    1. If this's request's method is not a - CORS-safelisted method, then throw a {{TypeError}}. - -

    2. Set this's headers's guard to - "request-no-cors". -

    -
  • -
  • If headers is a Headers object, then for each header in its header list, append header's name/header's value to