diff --git a/Overview.html b/Overview.html index 13706390a..df75ee6c2 100644 --- a/Overview.html +++ b/Overview.html @@ -7,7 +7,7 @@

Fetch

-

Living Standard — Last Updated 5 February 2016

+

Living Standard — Last Updated 11 February 2016

Participate: @@ -3506,6 +3506,7 @@

6.2 Body mixin

ReadableStream object.
  • Let Content-Type be null. +

  • Let action be null.

  • Switch on object's type: @@ -3513,9 +3514,7 @@

    6.2 Body mixin

    Blob
    -

    Enqueue a Uint8Array object - wrapping an ArrayBuffer containing a copy of object's contents to - stream. +

    Set action to an action that reads object.

    If object's type attribute is not the empty byte sequence, set Content-Type to its value. @@ -3524,16 +3523,16 @@

    6.2 Body mixin

    Enqueue a Uint8Array object wrapping an ArrayBuffer containing a copy of the bytes held by object - to stream. + to stream and close + stream. If that threw an exception, + error stream with that exception.

    FormData
    -

    Enqueue a Uint8Array object - wrapping an ArrayBuffer containing the result of running the +

    Set action to an action that runs multipart/form-data encoding algorithm, with object as form data set and with - utf-8 as the explicit character encoding, to - stream. + utf-8 as the explicit character encoding. @@ -3545,12 +3544,10 @@

    6.2 Body mixin

    URLSearchParams
    -

    Enqueue a Uint8Array object - wrapping an ArrayBuffer containing the result of running the - application/x-www-form-urlencoded serializer, - with object's - list, to - stream. +

    Set action to an action that runs + application/x-www-form-urlencoded + serializer with object's + list.

    Set Content-Type to @@ -3558,14 +3555,26 @@

    6.2 Body mixin

    USVString
    -

    Enqueue a Uint8Array object - wrapping an ArrayBuffer containing the result of running - utf-8 encode on object to stream. +

    Set action to an action that runs + utf-8 encode on object.

    Set Content-Type to `text/plain;charset=UTF-8`.

    -
  • Close stream. +

  • +

    If action is non-null, run action in + parallel: +

      +
    1. Whenever one or more bytes are available, let bytes be the bytes and + enqueue a Uint8Array object + wrapping an ArrayBuffer containing bytes to stream. If + creating the ArrayBuffer threw an exception, + error stream with that exception + and cancel running action. + +

    2. When running action is done, + close stream. +

  • Let body be a body whose stream is stream. diff --git a/Overview.src.html b/Overview.src.html index e245d4d7a..a874d6461 100644 --- a/Overview.src.html +++ b/Overview.src.html @@ -3445,6 +3445,7 @@

    Body mixin

    ReadableStream object.
  • Let Content-Type be null. +

  • Let action be null.

  • Switch on object's type: @@ -3452,9 +3453,7 @@

    Body mixin

    Blob
    -

    Enqueue a Uint8Array object - wrapping an ArrayBuffer containing a copy of object's contents to - stream. +

    Set action to an action that reads object.

    If object's type attribute is not the empty byte sequence, set Content-Type to its value. @@ -3463,16 +3462,16 @@

    Body mixin

    Enqueue a Uint8Array object wrapping an ArrayBuffer containing a copy of the bytes held by object - to stream. + to stream and close + stream. If that threw an exception, + error stream with that exception.

    FormData
    -

    Enqueue a Uint8Array object - wrapping an ArrayBuffer containing the result of running the +

    Set action to an action that runs multipart/form-data encoding algorithm, with object as form data set and with - utf-8 as the explicit character encoding, to - stream. + utf-8 as the explicit character encoding. @@ -3484,12 +3483,10 @@

    Body mixin

    URLSearchParams
    -

    Enqueue a Uint8Array object - wrapping an ArrayBuffer containing the result of running the - application/x-www-form-urlencoded serializer, - with object's - list, to - stream. +

    Set action to an action that runs + application/x-www-form-urlencoded + serializer with object's + list.

    Set Content-Type to @@ -3497,14 +3494,26 @@

    Body mixin

    USVString
    -

    Enqueue a Uint8Array object - wrapping an ArrayBuffer containing the result of running - utf-8 encode on object to stream. +

    Set action to an action that runs + utf-8 encode on object.

    Set Content-Type to `text/plain;charset=UTF-8`.

    -
  • Close stream. +

  • +

    If action is non-null, run action in + parallel: +

      +
    1. Whenever one or more bytes are available, let bytes be the bytes and + enqueue a Uint8Array object + wrapping an ArrayBuffer containing bytes to stream. If + creating the ArrayBuffer threw an exception, + error stream with that exception + and cancel running action. + +

    2. When running action is done, + close stream. +

  • Let body be a body whose stream is stream.