Re: [XHR] responseType "json"

On Mon, Dec 12, 2011 at 7:08 PM, Jarred Nicholls <jarred@sencha.com> wrote:
> There's no feeding (re: streaming) of data to a parser, it's buffered until
> the state is DONE (readyState == 4) and then an XML doc is created upon the
> first access to responseXML or response.  Same will go for the JSON parser
> in our first iteration of implementing the "json" responseType.

FWIW, Gecko parses XML and HTML in a streaming way as data arrives
from the network. When readyState changes to DONE, the document has
already been parsed.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Tuesday, 13 December 2011 08:56:52 UTC