mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Amend DomParser to make it compatible with TrustedTypes
This commit is contained in:
parent
33285467a8
commit
c591f8c14f
Notes:
github-actions[bot]
2025-10-27 16:15:49 +00:00
Author: https://github.com/tete17
Commit: c591f8c14f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6057
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/Lubrsi ✅
4 changed files with 20 additions and 9 deletions
|
|
@ -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&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue