ladybird/Userland/Libraries/LibWeb/Streams
Andreas Kling ffac32d20e LibWeb: Use JS::HeapFunction for WebIDL promise reaction steps
Switching away from SafeFunction immediately backfired here, as we're
dealing with two layers of captures, not one.

Let's do the correct fix, which is to use HeapFunction. This makes the
API and its behavior explicit, and keeps captures alive as long as the
HeapFunction is alive.

Fixes #23819.
2024-04-03 18:14:33 +02:00
..
AbstractOperations.cpp LibWeb: Use JS::HeapFunction for WebIDL promise reaction steps 2024-04-03 18:14:33 +02:00
AbstractOperations.h LibWeb: Implement the ReadableByteStreamTee half of ReadableStreamTee 2024-01-29 07:21:59 +01:00
ByteLengthQueuingStrategy.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
ByteLengthQueuingStrategy.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
ByteLengthQueuingStrategy.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
CountQueuingStrategy.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
CountQueuingStrategy.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
CountQueuingStrategy.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
QueuingStrategy.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
QueuingStrategy.idl LibWeb: Add IDL definition for Web::Streams::QueuingStrategy 2023-06-22 06:58:23 +02:00
QueuingStrategyInit.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
QueuingStrategyInit.idl LibWeb: Add IDL definition for Web::Streams::QueuingStrategyInit 2023-06-21 12:27:04 +02:00
ReadableByteStreamController.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
ReadableByteStreamController.h LibWeb: Port Stream algorithms from JS::SafeFunction to JS::HeapFunction 2024-01-27 21:40:25 -05:00
ReadableByteStreamController.idl LibWeb: Implement ReadableByteStreamController.enqueue 2023-12-03 20:26:14 +01:00
ReadableStream.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
ReadableStream.h LibWeb: Expose the ReadableStream tee IDL interface 2024-01-29 07:21:59 +01:00
ReadableStream.idl LibWeb: Expose the ReadableStream tee IDL interface 2024-01-29 07:21:59 +01:00
ReadableStreamBYOBReader.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
ReadableStreamBYOBReader.h LibWeb: Use ArrayBufferView for ReadableStreamBYOBReader 2023-11-24 08:43:35 +01:00
ReadableStreamBYOBReader.idl LibWeb: Use ArrayBufferView for ReadableStreamBYOBReader 2023-11-24 08:43:35 +01:00
ReadableStreamBYOBRequest.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
ReadableStreamBYOBRequest.h LibWeb: Use TypedArray as a forward-declaration where appropriate 2024-02-27 20:02:07 +01:00
ReadableStreamBYOBRequest.idl LibWeb: Implement ReadableStreamBYOBRequest.respondWithNewView 2024-01-29 17:10:56 -05:00
ReadableStreamDefaultController.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
ReadableStreamDefaultController.h LibWeb: Port Stream algorithms from JS::SafeFunction to JS::HeapFunction 2024-01-27 21:40:25 -05:00
ReadableStreamDefaultController.idl LibWeb: Add ReadableStreamDefaultController 2023-04-01 23:43:07 +01:00
ReadableStreamDefaultReader.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
ReadableStreamDefaultReader.h LibWeb+LibJS: Use JS::GCPtr for pointers to GC-allocated objects 2023-12-11 16:55:25 +01:00
ReadableStreamDefaultReader.idl LibWeb: Add ReadableStreamDefaultReader 2023-04-01 23:43:07 +01:00
ReadableStreamGenericReader.cpp LibWeb: Add and use a helper to reject a promise with an exception 2024-03-08 14:14:57 -05:00
ReadableStreamGenericReader.h LibWeb+LibJS: Use JS::GCPtr for pointers to GC-allocated objects 2023-12-11 16:55:25 +01:00
ReadableStreamGenericReader.idl LibWeb: Add the ReadableStreamGenericReader mixin interface 2023-04-01 23:43:07 +01:00
Transformer.cpp LibWeb: Add Transformer API 2023-07-15 11:59:39 +02:00
Transformer.h LibWeb: Add Transformer API 2023-07-15 11:59:39 +02:00
TransformStream.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
TransformStream.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
TransformStream.idl LibWeb: Add TransformStream scaffolding 2023-07-15 11:59:39 +02:00
TransformStreamDefaultController.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
TransformStreamDefaultController.h LibWeb: Port Stream algorithms from JS::SafeFunction to JS::HeapFunction 2024-01-27 21:40:25 -05:00
TransformStreamDefaultController.idl LibWeb: Implement TransformStreamDefaultController::terminate() 2023-07-15 11:59:39 +02:00
UnderlyingSink.cpp LibWeb: Properly reject abrupt completion in clean_up_on_return 2023-04-17 10:27:40 +02:00
UnderlyingSink.h LibWeb: Add the WritableStream interface 2023-04-06 22:54:58 +02:00
UnderlyingSource.cpp LibWeb: Port TypeError in UnderlyingSource from ByteString 2024-01-02 10:01:26 +01:00
UnderlyingSource.h LibWeb: Use u64 for ReadableByteStream offsets instead of u32 2023-05-27 13:55:14 +02:00
WritableStream.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
WritableStream.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
WritableStream.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
WritableStreamDefaultController.cpp LibWeb: Port Stream algorithms from JS::SafeFunction to JS::HeapFunction 2024-01-27 21:40:25 -05:00
WritableStreamDefaultController.h LibWeb: Port Stream algorithms from JS::SafeFunction to JS::HeapFunction 2024-01-27 21:40:25 -05:00
WritableStreamDefaultController.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
WritableStreamDefaultWriter.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
WritableStreamDefaultWriter.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
WritableStreamDefaultWriter.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00