-
Notifications
You must be signed in to change notification settings - Fork 320
Update the strategy argument to 'construct a ReadableStream'. #1338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
lgtm |
docs/index.bs
Outdated
| 1. When |promise| is fulfilled with a value that matches with neither of the above patterns, or |promise| is rejected, [=ReadableStream/error=] |newStream| with a <code>TypeError</code>. | ||
| 1. Let |cancel| be an action that [=ReadableStream/cancels=] |response|'s [=response/body=]'s <a>stream</a> with |reader|. | ||
| 1. Let |newStream| be the result of [=ReadableStream/construct a ReadableStream object=] with |strategy|, |pull| and |cancel| in |targetRealm|. | ||
| 1. Let |newStream| be the result of [=ReadableStream/construct a ReadableStream object=] with |highWaterMark|, |sizeAlgorithm|, |pull| and |cancel| in |targetRealm|. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd add a comma after |pull|. (I realize that's a new nit though as the old text had the same issue.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D,o,n,e. :)
|
Thanks for the PR @jyasskin! Could you remove the html file from the change set? Now Travis CI builds the spec when it's merged. (I just changed the CONTRIBUTING.md document.) |
b43bff9 to
fcd5787
Compare
|
@jungkees Done. |
|
Thanks! |
To match whatwg/fetch#781.
@ricea
Preview | Diff