LibWeb: Remove exceptional return types from infallible stream AOs

This commit is contained in:
Timothy Flynn 2024-04-29 18:15:07 -04:00 committed by Andreas Kling
commit 572a7bb313
Notes: sideshowbarker 2024-07-17 01:53:23 +09:00
5 changed files with 9 additions and 13 deletions

View file

@ -58,7 +58,7 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<TransformStream>> TransformStream::construc
initialize_transform_stream(*stream, start_promise, writable_high_water_mark, move(writable_size_algorithm), readable_high_water_mark, move(readable_size_algorithm));
// 11. Perform ? SetUpTransformStreamDefaultControllerFromTransformer(this, transformer, transformerDict).
TRY(set_up_transform_stream_default_controller_from_transformer(*stream, transformer, transformer_dict));
set_up_transform_stream_default_controller_from_transformer(*stream, transformer, transformer_dict);
// 12. If transformerDict["start"] exists, then resolve startPromise with the result of invoking
// transformerDict["start"] with argument list « this.[[controller]] » and callback this value transformer.