Re: [whatwg/streams] Add helpers to use initial values of Promise methods (#1010)

ricea commented on this pull request.



> @@ -389,18 +389,18 @@ function TransformStreamDefaultSinkCloseAlgorithm(stream) {
   TransformStreamDefaultControllerClearAlgorithms(controller);
 
   // Return a promise that is fulfilled with undefined on success.
-  return flushPromise.then(() => {
+  return PerformPromiseCatch(PerformPromiseThen(flushPromise, () => {

Looks like you fixed a bug here, and now the `PerformPromiseCatch` is no longer needed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1010#pullrequestreview-276886939

Received on Tuesday, 20 August 2019 01:09:10 UTC