ladybird/Userland/Libraries/LibWeb/WebIDL
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: Fix a silly mistake for bitLength 64 in conversion to int 2024-03-30 21:21:23 +01:00
AbstractOperations.h LibWeb: Delete LegacyPlatformObject and move behavior to PlatformObject 2024-01-12 09:11:18 +01:00
Buffers.cpp LibJS+LibWeb: Implement resizable ArrayBuffer support for TypedArray 2023-12-26 11:16:10 +01:00
Buffers.h LibWeb+Meta: Add wrapper for the BufferSource/ArrayBufferView IDL types 2023-11-24 08:43:35 +01:00
CallbackType.cpp LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
CallbackType.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
DOMException.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
DOMException.h LibJS+LibWeb: Add JS::Value constructor for `JS::Handle<T>` 2023-12-19 09:21:55 -07:00
DOMException.idl LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
ExceptionOr.h LibWeb: Add and use a helper to reject a promise with an exception 2024-03-08 14:14:57 -05:00
Function.idl LibWeb: Add IDL definition for 'Function' 2023-06-23 13:27:29 +02:00
ObservableArray.cpp LibWeb/WebIDL: Introduce ObservableArray 2024-03-08 16:31:21 +01:00
ObservableArray.h LibWeb: Add ObservableArray::for_each() 2024-03-09 16:13:32 +01:00
OverloadResolution.cpp LibWeb: Treat BufferSource as a DataView/ArrayBuffer/TA in IDL overloads 2023-12-30 18:50:29 +01:00
OverloadResolution.h LibWeb: Move IDLOverloadResolution from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
Promise.cpp LibWeb: Use JS::HeapFunction for WebIDL promise reaction steps 2024-04-03 18:14:33 +02:00
Promise.h LibWeb: Use JS::HeapFunction for WebIDL promise reaction steps 2024-04-03 18:14:33 +02:00
Types.h LibWeb: Add IDL integer typedefs 2024-01-02 10:01:26 +01:00