You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the "set up" algorithms for ReadableStream which take cancel algorithms and wrap them (here and here), the wrapper is specified as "an algorithm that runs these steps", and then in the steps, says "Let result be the result of running cancelAlgorithm, if cancelAlgorithm was given, or null otherwise". However, in the rest of the spec, the cancel algorithms take a cancellation reason. To me it seems like the wrapper should accept an argument and pass it on. I'd be happy to submit a PR for a fix if this is unintended, but I just wanted to make sure I wasn't missing anything first.
The text was updated successfully, but these errors were encountered:
In the "set up" algorithms for
ReadableStream
which take cancel algorithms and wrap them (here and here), the wrapper is specified as "an algorithm that runs these steps", and then in the steps, says "Let result be the result of running cancelAlgorithm, if cancelAlgorithm was given, or null otherwise". However, in the rest of the spec, the cancel algorithms take a cancellation reason. To me it seems like the wrapper should accept an argument and pass it on. I'd be happy to submit a PR for a fix if this is unintended, but I just wanted to make sure I wasn't missing anything first.The text was updated successfully, but these errors were encountered: