mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Consider content-type charset when determining XML encoding
This commit is contained in:
committed by
Andreas Kling
parent
07ea3ab306
commit
278e8afb42
Notes:
sideshowbarker
2024-07-17 04:01:41 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/278e8afb42 Pull-request: https://github.com/SerenityOS/serenity/pull/21968 Issue: https://github.com/SerenityOS/serenity/issues/21779
@@ -11,8 +11,8 @@
|
||||
|
||||
namespace Web {
|
||||
|
||||
bool build_xml_document(DOM::Document& document, ByteBuffer const& data);
|
||||
bool parse_document(DOM::Document& document, ByteBuffer const& data);
|
||||
bool build_xml_document(DOM::Document& document, ByteBuffer const& data, Optional<String> content_encoding);
|
||||
bool parse_document(DOM::Document& document, ByteBuffer const& data, Optional<String> content_encoding);
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user