This implements the cancel callback for TransformStream. The cancel callback is raised when the readable side of the TransformStream is cancelled, or the writable side is aborted.
Also added a test to prove a ReadableStream can be cancelled, noticed this behavior lacked a test.
This implements the cancel callback for TransformStream. The cancel callback is raised when the readable side of the TransformStream is cancelled, or the writable side is aborted.
Also added a test to prove a ReadableStream can be cancelled, noticed this behavior lacked a test.
Commits are cherry-picked from: https://github.com/LadybirdBrowser/ladybird/pull/95