mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Add innerText attribute of HTMLScriptElement for TrustedTypes
This commit is contained in:
committed by
Jelle Raaijmakers
parent
6b9c44390f
commit
f7c05013c7
Notes:
github-actions[bot]
2025-09-16 08:58:42 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/f7c05013c7c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6058 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/gmta ✅
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user