[whatwg] Thread to run Web Socket feedback from the protocol ?
jonas at sicking.cc
Wed Dec 9 09:47:21 PST 2009
On Wed, Dec 9, 2009 at 9:34 AM, Ian Hickson <ian at hixie.ch> wrote:
> On Wed, 9 Dec 2009, Alexey Proskuryakov wrote:
>> Data from network is only processed as an event loop task
> I do not believe this is accurate. It certainly isn't what is specced.
In XMLHttpRequest this is certainly accurate. You will never see
.responseText changing in the middle of an execution thread, it's
always changed in response of a task run from the event loop. This
task can (and IMO should) synchronously fire the 'progress' event
(within the usual limitations of never firing that event more often
than every 50ms).
More information about the whatwg