Re: [XHR2] responseType / response / overrideMimeType proposal

On Mon, Nov 29, 2010 at 3:00 PM, Chris Rogers <crogers@google.com> wrote:
> Anne, for what it's worth, in my initial implementation in WebKit, I've
> allowed .responseText to be accessed (without throwing) if .responseType ==
> "text".
> Likewise, .responseXML can be accessed (without throwing) if .responseType
> == "document"
> I don't have a strong opinion either way.  But it wasn't hard for us to
> implement that way.

IIRC, in our current experimental implementation accessing
.responseText and .responseXML *never* throw based on .responseType -
they're just empty if .responseType is wrong for them.

~TJ

Received on Monday, 29 November 2010 23:18:58 UTC