Files
servo/components/script/dom
Simon Wülker 9ca7628dbd script: Skip some steps when determining encoding for XML document (#41637)
XML documents do not use the "determine the encoding" algorithm. As far
as I can tell, it is unspecified how they should determine the encoding
instead. We now check the BOM, `Content-Type` header and prescan for an
xml encoding declaration (but don't inherit encodings from iframes or
attempt to determine the encoding from heuristics).

Testing: New tests start to pass
Part of https://github.com/servo/servo/issues/6414

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2026-01-02 17:53:11 +00:00
..
2026-01-01 13:40:20 +00:00
2026-01-01 13:40:20 +00:00
2025-12-05 07:23:32 +00:00
2025-08-19 11:07:53 +00:00
2025-12-21 13:18:06 +00:00