mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibWeb: Add XMLHttpRequest Document response type
This commit is contained in:
parent
b8f8b22aa5
commit
222cc29c5c
7 changed files with 122 additions and 12 deletions
|
@ -146,7 +146,7 @@ static bool build_gemini_document(DOM::Document& document, ByteBuffer const& dat
|
|||
return true;
|
||||
}
|
||||
|
||||
static bool build_xml_document(DOM::Document& document, ByteBuffer const& data)
|
||||
bool build_xml_document(DOM::Document& document, ByteBuffer const& data)
|
||||
{
|
||||
auto encoding = HTML::run_encoding_sniffing_algorithm(document, data);
|
||||
auto decoder = TextCodec::decoder_for(encoding);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue