mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Make Trusted Types injection sink names more readable
No functional change.
This commit is contained in:
parent
60e1a136aa
commit
fb9406ddcd
Notes:
github-actions[bot]
2025-11-06 16:46:08 +00:00
Author: https://github.com/Lubrsi
Commit: fb9406ddcd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6632
Reviewed-by: https://github.com/AtkinsSJ
14 changed files with 55 additions and 55 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue