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

Re: [XHR] responseType "json"

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 12 Dec 2011 11:37:13 +0100
To: "Jarred Nicholls" <jarred@sencha.com>
Cc: public-webapps@w3.org
Message-ID: <op.v6dg4br864w2qv@annevk-macbookpro.local>
On Sun, 11 Dec 2011 15:44:58 +0100, Jarred Nicholls <jarred@sencha.com>  
wrote:
> I understand that's how you spec'ed it, but it's not how it's implemented
> in IE nor WebKit for legacy purposes - which is what I meant in the above
> statement.

What do you mean legacy purposes? responseType is a new feature. And we  
added it in this way in part because of feedback from the WebKit community  
that did not want to keep the raw data around.

In the thread where we discussed adding it the person working on it for  
WebKit did seem to plan on implementing it per the specification:

http://lists.w3.org/Archives/Public/public-webapps/2010OctDec/thread.html#msg799


> In WebKit and IE <=9, a responseType of "", "text",
> or "document" means access to both responseXML and responseText.  I don't
> know what IE10's behavior is yet.

IE8 could not have supported this feature and for IE9 I could not find any  
documentation. Are you sure they implemented it?


Given that Gecko does the right thing and Opera will too (next major  
release I believe) I do not really see any reason to change the  
specification.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Monday, 12 December 2011 10:40:03 GMT

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