mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 18:47:15 +02:00
LibWeb: Add textContent attribute of HTMLScriptElement for TrustedTypes
This commit is contained in:
committed by
Jelle Raaijmakers
parent
f65dca1b53
commit
6b9c44390f
Notes:
github-actions[bot]
2025-09-16 08:58:51 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/6b9c44390f7 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6058 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/gmta ✅
@@ -20,6 +20,7 @@ interface HTMLScriptElement : HTMLElement {
|
||||
// https://www.w3.org/TR/trusted-types/#enforcement-in-scripts
|
||||
[CEReactions] attribute (TrustedScript or Utf16DOMString) text;
|
||||
[CEReactions] attribute (TrustedScriptURL or Utf16USVString) src;
|
||||
[CEReactions] attribute (TrustedScript or Utf16DOMString)? textContent;
|
||||
|
||||
static boolean supports(DOMString type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user