LibWeb: Make Trusted Types injection sink names more readable

No functional change.
This commit is contained in:
Luke Wilde 2025-11-04 15:27:46 +00:00 committed by Tim Flynn
parent 60e1a136aa
commit fb9406ddcd
Notes: github-actions[bot] 2025-11-06 16:46:08 +00:00
14 changed files with 55 additions and 55 deletions

View file

@ -683,7 +683,7 @@ WebIDL::ExceptionOr<void> HTMLScriptElement::set_text(TrustedTypes::TrustedScrip
TrustedTypes::TrustedTypeName::TrustedScript,
HTML::relevant_global_object(*this),
text,
TrustedTypes::InjectionSink::HTMLScriptElementtext,
TrustedTypes::InjectionSink::HTMLScriptElement_text,
TrustedTypes::Script.to_string()));
// 2. Set thiss script text value to the given value.
@ -703,7 +703,7 @@ WebIDL::ExceptionOr<void> HTMLScriptElement::set_src(TrustedTypes::TrustedScript
TrustedTypes::TrustedTypeName::TrustedScriptURL,
HTML::relevant_global_object(*this),
text,
TrustedTypes::InjectionSink::HTMLScriptElementsrc,
TrustedTypes::InjectionSink::HTMLScriptElement_src,
TrustedTypes::Script.to_string()));
// 2. Set thiss src content attribute to value.
@ -727,7 +727,7 @@ WebIDL::ExceptionOr<void> HTMLScriptElement::set_text_content(TrustedTypes::Trus
TrustedTypes::TrustedTypeName::TrustedScript,
HTML::relevant_global_object(*this),
text,
TrustedTypes::InjectionSink::HTMLScriptElementtextContent,
TrustedTypes::InjectionSink::HTMLScriptElement_textContent,
TrustedTypes::Script.to_string()));
// 2. Set thiss script text value to value.
@ -754,7 +754,7 @@ WebIDL::ExceptionOr<void> HTMLScriptElement::set_inner_text(TrustedTypes::Truste
TrustedTypes::TrustedTypeName::TrustedScript,
HTML::relevant_global_object(*this),
text,
TrustedTypes::InjectionSink::HTMLScriptElementinnerText,
TrustedTypes::InjectionSink::HTMLScriptElement_innerText,
TrustedTypes::Script.to_string()));
// 2. Set thiss script text value to value.