[Webkit-unassigned] [Bug 46146] XMLHttpRequest: responseXML returns null if the Content-Type is valid (end in +xml) in some cases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 23 09:09:22 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46146





--- Comment #3 from Alexey Proskuryakov <ap at webkit.org>  2010-09-23 09:09:21 PST ---
> Gecko does not do it.

This isn't necessarily sufficient for us, as we need to handle resources loaded via non-HTTP protocols, such as custom protocols defined by applications. Since text/xsl is the most common type for these, failing on it would be unexpected.

> They are equal to not having a Content-Type header (as they are not valid media types) and therefore the same as XML.

Interesting, thanks for explanation! I can't find where XMLHttpRequest2 (or RFC2616?) says that - I guess we'll just need to test what other browsers do.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list