LibWeb: Add innerText attribute of HTMLScriptElement for TrustedTypes

This commit is contained in:
Tete17 2025-08-06 15:03:58 +02:00 committed by Jelle Raaijmakers
commit f7c05013c7
Notes: github-actions[bot] 2025-09-16 08:58:42 +00:00
5 changed files with 34 additions and 1 deletions

View file

@ -68,6 +68,9 @@ public:
Variant<GC::Root<TrustedTypes::TrustedScript>, Utf16String, Empty> text_content() const;
WebIDL::ExceptionOr<void> set_text_content(TrustedTypes::TrustedScriptOrString);
TrustedTypes::TrustedScriptOrString inner_text();
WebIDL::ExceptionOr<void> set_inner_text(TrustedTypes::TrustedScriptOrString);
[[nodiscard]] bool async() const;
void set_async(bool);