[whatwg/fetch] define a XMLHttpRequestBodyInit without ReadableStream, re-define Bod… (#1029)

Part of https://github.com/whatwg/xhr/issues/277, removing `ReadableStream` from the body init used by XHR, and re-defining a `BodyInit` to include the stream option.

<!--
Thank you for contributing to the Fetch Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
-->

- [x] At least two implementers are interested (and none opposed):
   * Mozilla cc @annevk
   * Google cc @yutakahirano
- [x] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * I think this should not affect existing tests. 
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/master/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chrome: …
   * Firefox: …
   * Safari: …

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)


<!--
    This comment and the below content is programatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***

### :boom: Error: 400 Bad Request :boom: ###

[PR Preview](https://github.com/tobie/pr-preview#pr-preview) failed to build. _(Last tried on May 31, 2020, 4:23 PM UTC)_.

<details>
<summary>More</summary>


PR Preview relies on a number of web services to run. There seems to be an issue with the following one:

:rotating_light: [CSS Spec Preprocessor](https://api.csswg.org/bikeshed/) - CSS Spec Preprocessor is the web service used to build Bikeshed specs.

:link: [Related URL](https://api.csswg.org/bikeshed/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgterzian%2Ffetch%2F7a0fb3991a0f20b29bcfbfc5b14a06d73819e5e1%2Ffetch.bs&force=1&md-status=LS-PR&md-Text-Macro=PR-NUMBER%201029)



_If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please [file an issue](https://github.com/tobie/pr-preview/issues/new?title=Error%20not%20surfaced%20properly&body=See%20whatwg/fetch%231029.)._
</details>

You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/1029


-- Commit Summary --

  * define a XMLHttpRequestBodyInit without ReadableStream, re-define BodyInit by adding a stream to it.

-- File Changes --

    M fetch.bs (6)

-- Patch Links --

https://github.com/whatwg/fetch/pull/1029.patch

https://github.com/whatwg/fetch/pull/1029.diff


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1029

Received on Sunday, 31 May 2020 16:24:06 UTC