diff --git a/Overview.html b/Overview.html index 426612a15..9bcf64233 100644 --- a/Overview.html +++ b/Overview.html @@ -246,15 +246,9 @@

3 Infrastructure

networking task source. -

To queue a fetch-done task, given a request and -response, run these steps: - -

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

  2. Queue a fetch task on request to - process response end-of-file for response. -

+

To queue a fetch-request-done task, given a request, +queue a fetch task on request to process request end-of-file +for request.


@@ -554,12 +548,15 @@

3.1.4 Bodies

  • A total bytes (an integer), initially 0. -

    To wait for a body -body, if body is non-null, wait for body's -stream to be +

    A body body is said to be +done if body is null or body's +stream is closed or errored. +

    To wait for a body +body, wait for body to be done. +

    To clone a body body, run these steps: @@ -2181,13 +2178,21 @@

    5.1 Main fetch

    This terminates fetch. -

  • If request's body is - non-null and request's - current url's - scheme is - "http" or "https", - queue a fetch task on request to - process request end-of-file for request. +

  • +

    If request's current url's + scheme is "http" or + "https", run these substeps:

    + +
      +
    1. If request's body is + done, queue a fetch-request-done task for + request. + +

    2. Otherwise, in parallel, + wait for request's + body, and then + queue a fetch-request-done task for request. +

  • Queue a fetch task on request to process response for response. @@ -2195,7 +2200,10 @@

    5.1 Main fetch

  • Wait for internalResponse's body. -

  • Queue a fetch-done task using request and response. +

  • Set request's done flag. + +

  • Queue a fetch task on request to + process response end-of-file for response. @@ -5177,6 +5185,7 @@

    Acknowledgments

    Keith Yeung, Kenji Baheux, Lachlan Hunt, +Louis Ryan, Lucas Gonze, 呂康豪 (Kang-Hao Lu), Maciej Stachowiak, diff --git a/Overview.src.html b/Overview.src.html index 04aa0d9d2..e9894f242 100644 --- a/Overview.src.html +++ b/Overview.src.html @@ -177,15 +177,9 @@

    Infrastructure

    networking task source. -

    To queue a fetch-done task, given a request and -response, run these steps: - -

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

    2. Queue a fetch task on request to - process response end-of-file for response. -

    +

    To queue a fetch-request-done task, given a request, +queue a fetch task on request to process request end-of-file +for request.


    @@ -485,12 +479,15 @@

    Bodies

  • A total bytes (an integer), initially 0. -

    To wait for a body -body, if body is non-null, wait for body's -stream to be +

    A body body is said to be +done if body is null or body's +stream is closed or errored. +

    To wait for a body +body, wait for body to be done. +

    To clone a body body, run these steps: @@ -2112,13 +2109,21 @@

    Main fetch

    This terminates fetch. -

  • If request's body is - non-null and request's - current url's - scheme is - "http" or "https", - queue a fetch task on request to - process request end-of-file for request. +

  • +

    If request's current url's + scheme is "http" or + "https", run these substeps:

    + +
      +
    1. If request's body is + done, queue a fetch-request-done task for + request. + +

    2. Otherwise, in parallel, + wait for request's + body, and then + queue a fetch-request-done task for request. +

  • Queue a fetch task on request to process response for response. @@ -2126,7 +2131,10 @@

    Main fetch

  • Wait for internalResponse's body. -

  • Queue a fetch-done task using request and response. +

  • Set request's done flag. + +

  • Queue a fetch task on request to + process response end-of-file for response. @@ -5019,6 +5027,7 @@

    Acknowledgments

    Keith Yeung, Kenji Baheux, Lachlan Hunt, +Louis Ryan, Lucas Gonze, 呂康豪 (Kang-Hao Lu), Maciej Stachowiak,