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

@ -47,7 +47,7 @@ WebIDL::ExceptionOr<GC::Root<DOM::Document>> DOMParser::parse_from_string(Utf16S
TrustedTypes::TrustedTypeName::TrustedHTML,
relevant_global_object(*this),
move(string),
TrustedTypes::InjectionSink::DOMParserparseFromString,
TrustedTypes::InjectionSink::DOMParser_parseFromString,
TrustedTypes::Script.to_string()));
// 2. Let document be a new Document, whose content type is type and url is this's relevant global object's associated Document's URL.