Re: [whatwg/streams] Propagate reason argument to resolved promise of cancel algorithm (PR #1324)

Right, looking through the reference implementation the incoming reason argument for TransformStreamDefaultSourceCancelAlgorithm is the one used by the onFulfilled lambda.

https://github.com/whatwg/streams/blob/4d33866aab71b387b10c7d476dff312a7c2d8241/reference-implementation/lib/abstract-ops/transform-streams.js#L338

Then this is a bug in our implementation and not a spec issue. Thanks for the prompt reply!

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

Message ID: <whatwg/streams/pull/1324/c2301400700@github.com>

Received on Wednesday, 21 August 2024 08:00:32 UTC