mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Update spec steps for closing TransformStreams
This was actually an older change to the Streams spec that we missed
when we implemented TransformStreams. This fixes a crash in the imported
WPT tests.
See: 007d729
This commit is contained in:
parent
8cfac6ed71
commit
3fdad8fe22
Notes:
github-actions[bot]
2025-04-16 15:40:27 +00:00
Author: https://github.com/trflynn89
Commit: 3fdad8fe22
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4377
Reviewed-by: https://github.com/kennethmyhra ✅
Reviewed-by: https://github.com/shannonbooth
4 changed files with 287 additions and 29 deletions
|
@ -0,0 +1,16 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 11 tests
|
||||
|
||||
11 Pass
|
||||
Pass cancelling the readable side should call transformer.cancel()
|
||||
Pass cancelling the readable side should reject if transformer.cancel() throws
|
||||
Pass aborting the writable side should call transformer.abort()
|
||||
Pass aborting the writable side should reject if transformer.cancel() throws
|
||||
Pass closing the writable side should reject if a parallel transformer.cancel() throws
|
||||
Pass readable.cancel() and a parallel writable.close() should reject if a transformer.cancel() calls controller.error()
|
||||
Pass writable.abort() and readable.cancel() should reject if a transformer.cancel() calls controller.error()
|
||||
Pass readable.cancel() should not call cancel() when flush() is already called from writable.close()
|
||||
Pass readable.cancel() should not call cancel() again when already called from writable.abort()
|
||||
Pass writable.close() should not call flush() when cancel() is already called from readable.cancel()
|
||||
Pass writable.abort() should not call cancel() again when already called from readable.cancel()
|
Loading…
Add table
Add a link
Reference in a new issue