ladybird/Libraries/LibWeb/WebIDL
Timothy Flynn 64abc6101d LibWeb+WebWorker: Use IPC mechanics for structured serialization
Our structured serialization implementation had its own bespoke encoder
and decoder to serialize JS values. It also used a u32 buffer under the
hood, which made using its structures a bit awkward. We had previously
worked around its data structures in transferable streams, which nested
transfers of MessagePort instances. We basically had to add hooks into
the MessagePort to route to the correct transfer receiving steps, and
we could not invoke the correct AOs directly as the spec dictates.

We now use IPC mechanics to encode and decode data. This works because,
although we are encoding JS values, we are only ultimately encoding
primitive and basic AK types. The resulting data structures actually
enforce that we implement transferable streams exactly as the spec is
worded (I had planned to do that in a separate commit, but the fallout
of this patch actually required that change).
2025-07-18 10:09:02 -04:00
..
AbstractOperations.cpp LibWeb/WebIDL: Bring IDL::construct() up to date with the spec 2025-06-10 11:57:00 +02:00
AbstractOperations.h LibWeb/WebIDL: Bring IDL::construct() up to date with the spec 2025-06-10 11:57:00 +02:00
AsyncIterator.cpp LibIDL+LibWeb: Begin support for async iterator in IDL 2025-04-14 17:43:11 -04:00
AsyncIterator.h LibIDL+LibWeb: Begin support for async iterator in IDL 2025-04-14 17:43:11 -04:00
Buffers.cpp LibWeb/IDB: Update convert_a_value_to_a_key to latest changes 2025-03-13 11:23:15 +01:00
Buffers.h LibWeb/IDB: Update convert_a_value_to_a_key to latest changes 2025-03-13 11:23:15 +01:00
CallbackType.cpp LibWeb: Move ad hoc CallbackType helper method to CallbackType header 2024-12-11 15:11:21 +01:00
CallbackType.h LibWeb: Move ad hoc CallbackType helper method to CallbackType header 2024-12-11 15:11:21 +01:00
DOMException.cpp LibWeb+WebWorker: Use IPC mechanics for structured serialization 2025-07-18 10:09:02 -04:00
DOMException.h LibWeb+WebWorker: Use IPC mechanics for structured serialization 2025-07-18 10:09:02 -04:00
DOMException.idl
ExceptionOr.h LibJS: Make Completion.[[Value]] non-optional 2025-04-05 11:20:26 +02:00
Function.idl
ObservableArray.cpp LibJS: Skip prototype chain lookup in internal_set() for arrays 2025-05-23 14:51:32 +02:00
ObservableArray.h LibJS: Skip prototype chain lookup in internal_set() for arrays 2025-05-23 14:51:32 +02:00
OverloadResolution.cpp LibJS: Use FlyString in PropertyKey instead of DeprecatedFlyString 2025-03-24 22:27:17 +00:00
OverloadResolution.h
Promise.cpp LibWeb: Implement ReadableStreamPipeTo according to spec 2025-04-11 12:10:46 -04:00
Promise.h LibWeb: Implement ReadableStreamPipeTo according to spec 2025-04-11 12:10:46 -04:00
Tracing.cpp
Tracing.h
Types.h