W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: [XHR2] responseType / response / overrideMimeType proposal

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 29 Nov 2010 15:18:06 -0800
Message-ID: <AANLkTin7-OS1QyNXjJjcw37ZhzvTDdZbm-6cRpf677fH@mail.gmail.com>
To: Chris Rogers <crogers@google.com>
Cc: Anne van Kesteren <annevk@opera.com>, WebApps WG <public-webapps@w3.org>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:14 UTC