ladybird/Libraries/LibWeb/TrustedTypes
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
..
InjectionSink.cpp LibWeb: Enumerate all injection sinks relevant to the TrustedTypes spec 2025-09-01 16:19:24 +01:00
InjectionSink.h LibWeb: Allow CSP to block eval invocations based on TrustedTypes 2025-11-11 09:58:34 +01:00
RequireTrustedTypesForDirective.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
RequireTrustedTypesForDirective.h LibWeb: Extend set_text of HTMLScriptElement to accommodate TrustedTypes 2025-09-16 10:57:34 +02:00
TrustedHTML.cpp LibWeb: Implement TrustedHTML class 2025-08-11 12:21:31 +01:00
TrustedHTML.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
TrustedHTML.idl LibWeb: Implement TrustedHTML class 2025-08-11 12:21:31 +01:00
TrustedScript.cpp LibWeb: Implement TrustedScript type 2025-08-11 12:21:31 +01:00
TrustedScript.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
TrustedScript.idl LibWeb: Implement TrustedScript type 2025-08-11 12:21:31 +01:00
TrustedScriptURL.cpp LibWeb: Implement TrustedScriptURL class 2025-08-11 12:21:31 +01:00
TrustedScriptURL.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
TrustedScriptURL.idl LibWeb: Implement TrustedScriptURL class 2025-08-11 12:21:31 +01:00
TrustedTypePolicy.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
TrustedTypePolicy.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
TrustedTypePolicy.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
TrustedTypePolicyFactory.cpp LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
TrustedTypePolicyFactory.h LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
TrustedTypePolicyFactory.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00