ladybird/Libraries/LibWeb/WebAssembly
Shannon Booth 637fd51595 LibWeb: Unify WebIDL C++ type generation
Represent WebIDL C++ types with a single CppType model that tracks
nullability, optional presence, and contained storage.

GC-like values now use GC::Ref/GC::Ptr directly, while containers choose
"plain", "Root", or "Conservative" container types depending on what
they contain. For example, sequence<Element> becomes a RootVector of
GC::Ref values, while sequence<SomeDictionary> becomes a
ConservativeVector only when the dictionary contains GC-like values.
This moves the generated bindings away from wrapping GC values in
GC::Root by default.

This has broad fallout as the types passed to interfaces for GC
objects changes almost fully across the board.
2026-05-23 18:26:12 +02:00
..
Global.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
Global.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
Global.idl LibWeb: Add WebAssembly.Global and exports support for global instances 2024-12-24 15:20:28 +01:00
Instance.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
Instance.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
Instance.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
Memory.cpp LibWeb: Use UnownedExternalBuffer for WebAssembly.Memory backing store 2026-05-10 16:41:42 +02:00
Memory.h LibWeb: Use UnownedExternalBuffer for WebAssembly.Memory backing store 2026-05-10 16:41:42 +02:00
Memory.idl LibWeb: Implement resizable ArrayBuffers for Wasm memories 2025-08-23 08:26:23 +02:00
Module.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
Module.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
Module.idl LibWeb/WebAssembly: Implement Module::customSections(module) 2025-04-22 08:43:46 -06:00
Table.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
Table.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
Table.idl Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
WebAssembly.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
WebAssembly.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
WebAssembly.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
WebAssemblyModule.cpp LibJS+LibWeb: Adopt RootHashTable for unrooted GC-pointer storage 2026-05-19 19:24:08 +02:00
WebAssemblyModule.h LibJS+LibWeb: Adopt RootHashTable for unrooted GC-pointer storage 2026-05-19 19:24:08 +02:00