* Anne van Kesteren <[EMAIL PROTECTED]> [Mon, 04 Jun 2007 16:35:50 +0200]:
On Wed, 30 May 2007 10:40:14 +0200, Alexey Proskuryakov <[EMAIL PROTECTED]> wrote: > On 5/30/07 12:04 PM, "Anne van Kesteren" <[EMAIL PROTECTED]> 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? > > Yes, shipping Safari/WebKit does basically that. Does responseText stay null until you know the encoding?
Yes, response data is not appended to it until the encoding is determined (this is true for both shipping Safari/WebKit and nightly builds). Looking at the code, I think that it stays null, although there is a slight chance that it changes to an empty string in some circumstances.
- WBR, Alexey Proskuryakov.
