/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

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] Thread to run Web Socket feedback from the protocol ?
  5. </TITLE>
  6. <LINK REL="Index" HREF="index.html" >
  7. <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">
  8. <META NAME="robots" CONTENT="index,nofollow">
  9. <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
  10. <LINK REL="Previous" HREF="024405.html">
  11. <LINK REL="Next" HREF="024407.html">
  12. </HEAD>
  13. <BODY BGCOLOR="#ffffff">
  14. <H1>[whatwg] Thread to run Web Socket feedback from the protocol ?</H1>
  15. <!--htdig_noindex-->
  16. <B>Jonas Sicking</B>
  17. <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"
  18. TITLE="[whatwg] Thread to run Web Socket feedback from the protocol ?">jonas at sicking.cc
  19. </A><BR>
  20. <I>Wed Dec 9 10:06:04 PST 2009</I>
  21. <P><UL>
  22. <LI>Previous message: <A HREF="024405.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
  23. </A></li>
  24. <LI>Next message: <A HREF="024407.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
  25. </A></li>
  26. <LI> <B>Messages sorted by:</B>
  27. <a href="date.html#24406">[ date ]</a>
  28. <a href="thread.html#24406">[ thread ]</a>
  29. <a href="subject.html#24406">[ subject ]</a>
  30. <a href="author.html#24406">[ author ]</a>
  31. </LI>
  32. </UL>
  33. <HR>
  34. <!--/htdig_noindex-->
  35. <!--beginarticle-->
  36. <PRE>On Wed, Dec 9, 2009 at 9:53 AM, Ian Hickson &lt;<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">ian at hixie.ch</A>&gt; wrote:
  37. &gt;<i> On Wed, 9 Dec 2009, Jonas Sicking wrote:
  38. </I>&gt;&gt;<i> On Wed, Dec 9, 2009 at 9:34 AM, Ian Hickson &lt;<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">ian at hixie.ch</A>&gt; wrote:
  39. </I>&gt;&gt;<i> &gt; On Wed, 9 Dec 2009, Alexey Proskuryakov wrote:
  40. </I>&gt;&gt;<i> &gt;&gt;
  41. </I>&gt;&gt;<i> &gt;&gt; Data from network is only processed as an event loop task
  42. </I>&gt;&gt;<i> &gt;
  43. </I>&gt;&gt;<i> &gt; I do not believe this is accurate. It certainly isn't what is specced.
  44. </I>&gt;&gt;<i>
  45. </I>&gt;&gt;<i> In XMLHttpRequest this is certainly accurate. You will never see
  46. </I>&gt;&gt;<i> .responseText changing in the middle of an execution thread, it's
  47. </I>&gt;&gt;<i> always changed in response of a task run from the event loop.
  48. </I>&gt;<i>
  49. </I>&gt;<i> Sure. From the spec's point of view, a task is queued by the background
  50. </I>&gt;<i> network thread to update the responseText attribute. (I haven't checked if
  51. </I>&gt;<i> that's how Anne actually specced it, but something to that effect is
  52. </I>&gt;<i> needed, otherwise you can see the attribute changing from under you in a
  53. </I>&gt;<i> running script.)
  54. </I>&gt;<i>
  55. </I>&gt;<i> I'm absolutely fine with changing WebSocket to change readyState as part
  56. </I>&gt;<i> of the same task that dispatches the event
  57. </I>
  58. Yes, that is what I think the spec should say.
  59. / Jonas
  60. </PRE>
  61. <!--endarticle-->
  62. <!--htdig_noindex-->
  63. <HR>
  64. <P><UL>
  65. <!--threads-->
  66. <LI>Previous message: <A HREF="024405.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
  67. </A></li>
  68. <LI>Next message: <A HREF="024407.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
  69. </A></li>
  70. <LI> <B>Messages sorted by:</B>
  71. <a href="date.html#24406">[ date ]</a>
  72. <a href="thread.html#24406">[ thread ]</a>
  73. <a href="subject.html#24406">[ subject ]</a>
  74. <a href="author.html#24406">[ author ]</a>
  75. </LI>
  76. </UL>
  77. <hr>
  78. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  79. mailing list</a><br>
  80. <!--/htdig_noindex-->
  81. </body></html>