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

@ -33,7 +33,7 @@ WebIDL::ExceptionOr<GC::Ref<SharedWorker>> SharedWorker::construct_impl(JS::Real
TrustedTypes::TrustedTypeName::TrustedScriptURL,
realm.global_object(),
script_url,
TrustedTypes::InjectionSink::SharedWorkerconstructor,
TrustedTypes::InjectionSink::SharedWorker_constructor,
TrustedTypes::Script.to_string()));
// 2. If options is a DOMString, set options to a new WorkerOptions dictionary whose name member is set to the value