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

Re: [XHR2] responseType / response / overrideMimeType proposal

From: Chris Rogers <crogers@google.com>
Date: Mon, 29 Nov 2010 15:25:13 -0800
Message-ID: <AANLkTi=jcjpd3Fv=z1OYOM9ihRkqqF56r7_3UFCpxpk+@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Anne van Kesteren <annevk@opera.com>, WebApps WG <public-webapps@w3.org>
Actually, that's not quite true.  The WebKit prototype *does* throw when
.responseText or .responseXML is accessed, but .responseType is not
compatible (for example, "arraybuffer", or "blob")



> 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:25:45 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:42 GMT