diff --git a/fetch.bs b/fetch.bs index 2f46d3ed6..3f64bc49e 100644 --- a/fetch.bs +++ b/fetch.bs @@ -4222,6 +4222,20 @@ steps:
  • Let hasReadableStream be true if response's body is not null and is readable; otherwise false. +

  • +

    Let processResponseDone be the following steps: + +

      +
    1. Set fetchParams's request's + done flag. + +

    2. If fetchParams's process response done is not null, + then queue a fetch task to run fetchParams's + process response done given response with + fetchParams's task destination. +

    +
  • +
  • If hasReadableStream is true, then: @@ -4245,20 +4259,6 @@ steps: process response given response, with fetchParams's task destination. -

  • -

    Let processResponseDone be the following steps: - -

      -
    1. Set fetchParams's request's - done flag. - -

    2. If fetchParams's process response done is not null, - then queue a fetch task to run fetchParams's - process response done given response with - fetchParams's task destination. -

    -
  • -
  • If fetchParams's process response end-of-body is non-null, then: