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

Update ReadableByteStream to follow the style rule employed for the main... #283

Closed
wants to merge 1 commit into from

Conversation

tyoshino
Copy link
Member

... spec

1. Set `this.[[state]]` to `"closed"`.
1. Resolve `this.[[closedPromise]]` with **undefined**.
1. If **this**@[[state]] is `"closed"`, return a new promise resolved with **undefined**.
1. If **this**@[[state]] is `"errored"`, return a new promise rejected with **this**@[[storedError]]`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leftover backtick at end of line

@domenic
Copy link
Member

domenic commented Feb 10, 2015

I think this should update to use the underlyingByteSource object, like in #265. Right now the internal slots table is updated but the algorithms are not.

There's a bit of merge conflict since I accidentally merged #279.

Also let me know if you think we should move this into the main spec. We could either convert it to HTML like the rest of the spec or I could spend some time adding an Ecmarkdown post-processing step so that you don't have to convert as much and the source format remains fairly readable. (Eventually I probably want to use Ecmarkdown for the main spec but it's not a great use of time (or is it?).)

@domenic
Copy link
Member

domenic commented Mar 20, 2015

Can close this and roll up into #300.

@domenic domenic closed this Mar 20, 2015
@tyoshino tyoshino deleted the readableByteStreamStyleUpdate branch March 26, 2015 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants