Re: [streams] Have each of the stream and reader hold promises (#277)

>      }
>  
> -    this.releaseLock();
> -    return this._encapsulatedReadableStream.cancel(reason, ...args);
> +    // Bypass lock check.
> +    return CancelReadableStream(this._encapsulatedReadableStream, reason, ...args);

This will effect: spec's class definition block; spec header; spec step 3; and CancelReadableStream definition. They should all just take a _reason_ argument.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/277/files#r24269612

Received on Friday, 6 February 2015 20:30:34 UTC