/lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-December/024406.html
https://github.com/whatwg/whatwg.org · HTML · 97 lines · 74 code · 16 blank · 7 comment · 0 complexity · 5b20051dc6b816ca4f0e78c4c9150879 MD5 · raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
- <HTML>
- <HEAD>
- <TITLE> [whatwg] Thread to run Web Socket feedback from the protocol ?
- </TITLE>
- <LINK REL="Index" HREF="index.html" >
- <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20Thread%20to%20run%20Web%20Socket%20feedback%20from%20the%20protocol%20%3F&In-Reply-To=%3C63df84f0912091006w4dbae18fp685b13f4402c38ba%40mail.gmail.com%3E">
- <META NAME="robots" CONTENT="index,nofollow">
- <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <LINK REL="Previous" HREF="024405.html">
- <LINK REL="Next" HREF="024407.html">
- </HEAD>
- <BODY BGCOLOR="#ffffff">
- <H1>[whatwg] Thread to run Web Socket feedback from the protocol ?</H1>
- <!--htdig_noindex-->
- <B>Jonas Sicking</B>
- <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20Thread%20to%20run%20Web%20Socket%20feedback%20from%20the%20protocol%20%3F&In-Reply-To=%3C63df84f0912091006w4dbae18fp685b13f4402c38ba%40mail.gmail.com%3E"
- TITLE="[whatwg] Thread to run Web Socket feedback from the protocol ?">jonas at sicking.cc
- </A><BR>
- <I>Wed Dec 9 10:06:04 PST 2009</I>
- <P><UL>
- <LI>Previous message: <A HREF="024405.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
- </A></li>
- <LI>Next message: <A HREF="024407.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#24406">[ date ]</a>
- <a href="thread.html#24406">[ thread ]</a>
- <a href="subject.html#24406">[ subject ]</a>
- <a href="author.html#24406">[ author ]</a>
- </LI>
- </UL>
- <HR>
- <!--/htdig_noindex-->
- <!--beginarticle-->
- <PRE>On Wed, Dec 9, 2009 at 9:53 AM, Ian Hickson <<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">ian at hixie.ch</A>> wrote:
- ><i> On Wed, 9 Dec 2009, Jonas Sicking wrote:
- </I>>><i> On Wed, Dec 9, 2009 at 9:34 AM, Ian Hickson <<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">ian at hixie.ch</A>> wrote:
- </I>>><i> > On Wed, 9 Dec 2009, Alexey Proskuryakov wrote:
- </I>>><i> >>
- </I>>><i> >> Data from network is only processed as an event loop task
- </I>>><i> >
- </I>>><i> > I do not believe this is accurate. It certainly isn't what is specced.
- </I>>><i>
- </I>>><i> In XMLHttpRequest this is certainly accurate. You will never see
- </I>>><i> .responseText changing in the middle of an execution thread, it's
- </I>>><i> always changed in response of a task run from the event loop.
- </I>><i>
- </I>><i> Sure. From the spec's point of view, a task is queued by the background
- </I>><i> network thread to update the responseText attribute. (I haven't checked if
- </I>><i> that's how Anne actually specced it, but something to that effect is
- </I>><i> needed, otherwise you can see the attribute changing from under you in a
- </I>><i> running script.)
- </I>><i>
- </I>><i> I'm absolutely fine with changing WebSocket to change readyState as part
- </I>><i> of the same task that dispatches the event
- </I>
- Yes, that is what I think the spec should say.
- / Jonas
- </PRE>
- <!--endarticle-->
- <!--htdig_noindex-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="024405.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
- </A></li>
- <LI>Next message: <A HREF="024407.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#24406">[ date ]</a>
- <a href="thread.html#24406">[ thread ]</a>
- <a href="subject.html#24406">[ subject ]</a>
- <a href="author.html#24406">[ author ]</a>
- </LI>
- </UL>
- <hr>
- <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
- mailing list</a><br>
- <!--/htdig_noindex-->
- </body></html>