mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-28 04:00:33 +00:00
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. |
||
|---|---|---|
| .. | ||
| InjectionSink.cpp | ||
| InjectionSink.h | ||
| RequireTrustedTypesForDirective.cpp | ||
| RequireTrustedTypesForDirective.h | ||
| TrustedHTML.cpp | ||
| TrustedHTML.h | ||
| TrustedHTML.idl | ||
| TrustedScript.cpp | ||
| TrustedScript.h | ||
| TrustedScript.idl | ||
| TrustedScriptURL.cpp | ||
| TrustedScriptURL.h | ||
| TrustedScriptURL.idl | ||
| TrustedTypePolicy.cpp | ||
| TrustedTypePolicy.h | ||
| TrustedTypePolicy.idl | ||
| TrustedTypePolicyFactory.cpp | ||
| TrustedTypePolicyFactory.h | ||
| TrustedTypePolicyFactory.idl | ||