mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 03:56:16 +00:00
LibWeb: Implement and wire up TransformStream's cancel callback
This commit is contained in:
parent
6d7885e250
commit
e70886595a
Notes:
sideshowbarker
2024-07-17 04:09:56 +09:00
Author: https://github.com/kennethmyhra
Commit: e70886595a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/95
8 changed files with 80 additions and 9 deletions
|
@ -22,6 +22,7 @@ JS::ThrowCompletionOr<Transformer> Transformer::from_value(JS::VM& vm, JS::Value
|
|||
.start = TRY(property_to_callback(vm, value, "start", WebIDL::OperationReturnsPromise::No)),
|
||||
.transform = TRY(property_to_callback(vm, value, "transform", WebIDL::OperationReturnsPromise::Yes)),
|
||||
.flush = TRY(property_to_callback(vm, value, "flush", WebIDL::OperationReturnsPromise::Yes)),
|
||||
.cancel = TRY(property_to_callback(vm, value, "cancel", WebIDL::OperationReturnsPromise::Yes)),
|
||||
.readable_type = {},
|
||||
.writable_type = {},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue