On Wed Aug 27 21:30:27 2025 +0000, Jacek Caban wrote:
Earlier I thought Gecko exposed `nsIDOMHTMLDocument` for XHTML. If it doesn’t, then the current `html_document` check should cover most cases. Why don’t we just skip the flag for now and do the fixup in `get_mimeType`? It seems to me we could always query the content type there, and use "text/xml" if it isn’t one of the known ones.
On second thought the change to `get_mimeType` probably isn't quite correct. Upon closer look it seems IE may have "image" documents for example, it's probably something specific to XHR (or rather responseXML), I'll do more testing.