FWIW, I am waiting for http://www.w3.org/Bugs/Public/show_bug.cgi?id=14284 to be fixed in HTML before making changes to XMLHttpRequest.

On Thu, 29 Sep 2011 13:49:17 +0200, Henri Sivonen <hsivo...@iki.fi> wrote:
It seems to me that all these cannot be true:
 * responseText and responseXML use the same encoding detection rules.
 * The "text" and default modes use the same encoding detection rules.
 * "text" and "moz-chunked-text" use the same encoding detection rules.
 * "moz-chunked-text" uses the same encoding for all chunks.
* All imaginable badly written comet apps are guaranteed to continue working.
 * responseXML considers <meta> in a deterministic way (no timer for
bailing out before 1024 bytes if the network stalls).

Which property do we give up?

I do not see why "text" and "moz-chunked-text" have to be the same. Surely we do not want XML encoding detection to kick in for chunks.

Having deterministic decoding and waiting for 1024 bytes if the MIME type is text/html seems reasonable.


--
Anne van Kesteren
http://annevankesteren.nl/

Reply via email to