On 6/6/22 14:24, Gabriel Ivăncescu wrote:
For some reason, Gecko returns an XML document here, but native follows the spec.
That doesn't really make sense, Gecko is not involved because we currently use msxml instead of Gecko here. I guess you're referring to your future patches, in which case the question is what's "some reason"? Looking at Gecko sources, it returns XML document only for XML_HTTP_RESPONSE_TYPE_DEFAULT and XML_HTTP_RESPONSE_TYPE_DOCUMENT response type. What's wrong with that?
Similar question applies to overrideMimeType, why can't we let Gecko handle that?
Jacek