/lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-December/066679.html

https://github.com/whatwg/whatwg.org · HTML · 90 lines · 79 code · 4 blank · 7 comment · 0 complexity · bdc6c55818a06dd916a8178fee8d0058 MD5 · raw file

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