mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb+IDLGenerators: Support nullable union types
This commit is contained in:
Notes:
github-actions[bot]
2026-03-25 13:21:41 +00:00
Author: https://github.com/Lubrsi Commit: https://github.com/LadybirdBrowser/ladybird/commit/cfd795f907f Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8534 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/tcl3
@@ -66,7 +66,7 @@ public:
|
||||
WebIDL::ExceptionOr<void> set_src(TrustedTypes::TrustedScriptURLOrString);
|
||||
|
||||
Variant<GC::Root<TrustedTypes::TrustedScript>, Utf16String, Empty> text_content() const;
|
||||
WebIDL::ExceptionOr<void> set_text_content(TrustedTypes::TrustedScriptOrString);
|
||||
WebIDL::ExceptionOr<void> set_text_content(TrustedTypes::NullableTrustedScriptOrString);
|
||||
|
||||
TrustedTypes::TrustedScriptOrString inner_text();
|
||||
WebIDL::ExceptionOr<void> set_inner_text(TrustedTypes::TrustedScriptOrString);
|
||||
|
||||
Reference in New Issue
Block a user