mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
LibWeb: Extend set_text of HTMLScriptElement to accommodate TrustedTypes
This commit is contained in:
parent
b4df857a57
commit
664a3b536a
Notes:
github-actions[bot]
2025-09-16 08:59:04 +00:00
Author: https://github.com/tete17
Commit: 664a3b536a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6058
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/gmta ✅
7 changed files with 46 additions and 3 deletions
|
@ -18,7 +18,8 @@ interface HTMLScriptElement : HTMLElement {
|
|||
[CEReactions, Reflect] attribute DOMString integrity;
|
||||
[CEReactions, Enumerated=FetchPriorityAttribute, Reflect=fetchpriority] attribute DOMString fetchPriority;
|
||||
|
||||
[CEReactions] attribute Utf16DOMString text;
|
||||
// https://www.w3.org/TR/trusted-types/#enforcement-in-scripts
|
||||
[CEReactions] attribute (TrustedScript or Utf16DOMString) text;
|
||||
|
||||
static boolean supports(DOMString type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue