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);

I think it is OK to stop passing any args now since it is not a direct delegation to a possibly-overridden `.cancel` method.

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

Received on Friday, 6 February 2015 20:17:55 UTC