Skip to content
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

Typo in ErrorReadableStream algorithm #387

Closed
youennf opened this issue Aug 4, 2015 · 2 comments
Closed

Typo in ErrorReadableStream algorithm #387

youennf opened this issue Aug 4, 2015 · 2 comments
Assignees

Comments

@youennf
Copy link
Contributor

youennf commented Aug 4, 2015

In the HTML draft currently available at https://streams.spec.whatwg.org/#error-readable-stream, step 6 is probably wrong. It should probably say something like: if reader is undefined, return undefined.
Step 6a could also be renumbered as step 7.

@domenic
Copy link
Member

domenic commented Aug 4, 2015

Thanks! I think I see the fix. But I'll let @tyoshino do it to confirm. This was introduced in the most recent commit 7b034bb

@tyoshino
Copy link
Member

tyoshino commented Aug 6, 2015

Thanks for review and catching this! Right, it's a bug. I've fixed the code as you suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants