LibWeb: Amend DomParser to make it compatible with TrustedTypes

This commit is contained in:
Tete17 2025-08-11 00:31:46 +02:00 committed by Luke Wilde
parent 33285467a8
commit c591f8c14f
Notes: github-actions[bot] 2025-10-27 16:15:49 +00:00
4 changed files with 20 additions and 9 deletions

View file

@ -24,7 +24,7 @@ public:
virtual ~DOMParser() override;
GC::Ref<DOM::Document> parse_from_string(StringView, Bindings::DOMParserSupportedType type);
WebIDL::ExceptionOr<GC::Root<DOM::Document>> parse_from_string(Utf16String, Bindings::DOMParserSupportedType type);
private:
explicit DOMParser(JS::Realm&);