LibWeb/Bindings: Use IDL context to determine 'is platform object'

This commit is contained in:
Shannon Booth
2026-04-22 14:09:48 +02:00
committed by Shannon Booth
parent 83f4e03045
commit 83427086fa
Notes: github-actions[bot] 2026-04-24 18:10:16 +00:00
2 changed files with 10 additions and 176 deletions

View File

@@ -27,6 +27,3 @@ interface CSSRule {
4. Forward declare the generated class in [`LibWeb/Forward.h`](../Libraries/LibWeb/Forward.h):
- `HTMLDetailsElement` in its namespace.
5. If your type isn't an Event or Element, you will need to add it to [`is_platform_object()`](../Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp)
so that it can be accepted as an IDL parameter, attribute or return type.