LibWeb: Add XMLHttpRequest Document response type

This commit is contained in:
Bastiaan van der Plaat 2023-09-14 21:07:53 +02:00 committed by Alexander Kalenik
commit 222cc29c5c
Notes: sideshowbarker 2024-07-17 08:55:54 +09:00
7 changed files with 122 additions and 12 deletions

View file

@ -11,6 +11,7 @@
namespace Web {
bool build_xml_document(DOM::Document& document, ByteBuffer const& data);
bool parse_document(DOM::Document& document, ByteBuffer const& data);
JS::GCPtr<DOM::Document> load_document(Optional<HTML::NavigationParams> navigation_params);
JS::GCPtr<DOM::Document> create_document_for_inline_content(JS::GCPtr<HTML::Navigable> navigable, Optional<String> navigation_id, StringView content_html);