W3C home > Mailing lists > Public > public-webapi@w3.org > May 2007

Re: XHR: responseText encoding detection

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 30 May 2007 10:04:53 +0200
To: "Alexey Proskuryakov" <ap-carbon@rambler.ru>, public-webapi@w3.org
Message-ID: <op.ts4refxh64w2qv@annevk-t60.oslo.opera.com>

On Wed, 30 May 2007 09:44:41 +0200, Alexey Proskuryakov  
<ap-carbon@rambler.ru> wrote:
> It turned out that there is already some code (Dashboard widgets) that
> relies on Http-Equiv METAs being honored by XMLHttpRequest. This worked  
> in shipping Safari/WebKit by accident: all XHR content was passed  
> through an
> XML/HTML decoder.

So you're saying that for responseText you do indeed adhere to the  
text/html rules?

> So, it seems that we need to decode text/html according to its normal
> rules. This can be made a quirk for Dashboard, but since it makes  
> long-term sense for HTML5, maybe it is a good behavior to specify.
> For most browsers, it would be a change in behavior, so I guess the
> biggest question is what other browser makers think about it.

Yeah. Opera does this for text/css as well, for what it's worth.

Anne van Kesteren
Received on Wednesday, 30 May 2007 08:05:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:23 UTC