/lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-December/066588.html
https://github.com/whatwg/whatwg.org · HTML · 86 lines · 71 code · 8 blank · 7 comment · 0 complexity · 09a17be62e7053a86f6370d6012d8c51 MD5 · raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//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=%3C98070607-5D02-4AF5-9606-D9C780A1A991%40apple.com%3E">
- <META NAME="robots" CONTENT="index,nofollow">
- <style type="text/css">
- pre {
- white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
- }
- </style>
- <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <LINK REL="Previous" HREF="066585.html">
- <LINK REL="Next" HREF="066596.html">
- </HEAD>
- <BODY BGCOLOR="#ffffff">
- <H1>[whatwg] Thread to run Web Socket feedback from the protocol ?</H1>
- <!--htdig_noindex-->
- <B>Alexey Proskuryakov</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=%3C98070607-5D02-4AF5-9606-D9C780A1A991%40apple.com%3E"
- TITLE="[whatwg] Thread to run Web Socket feedback from the protocol ?">ap at apple.com
- </A><BR>
- <I>Thu Dec 3 13:43:10 PST 2009</I>
- <P><UL>
- <LI>Previous message: <A HREF="066585.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
- </A></li>
- <LI>Next message: <A HREF="066596.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#66588">[ date ]</a>
- <a href="thread.html#66588">[ thread ]</a>
- <a href="subject.html#66588">[ subject ]</a>
- <a href="author.html#66588">[ author ]</a>
- </LI>
- </UL>
- <HR>
- <!--/htdig_noindex-->
- <!--beginarticle-->
- <PRE>
- On 03.12.2009, at 9:50, Alexey Proskuryakov wrote:
- >><i> If server sends back handshake response and a data frame, and close
- </I>>><i> immediately, fast enough to run JavaScript on browser, how
- </I>>><i> readyState should be?
- </I>><i>
- </I>><i> I'd expect it to work in the same way it works for XMLHttpRequest -
- </I>><i> e.g., in an onreadystate handler of XMLHttpRequest, readyState does
- </I>><i> not change due to background processing of incoming data.
- </I>
- On the other hand, it can't possibly work like XMLHttpRequest - for
- whatever reason, the Web Sockets spec says that events are posted
- asynchronously. Maybe I'm not the last an only one to get confused by
- this difference from XMLHttpRequest events.
- In light of this, I think that the test in question is incorrect.
- - WBR, Alexey Proskuryakov
- </PRE>
- <!--endarticle-->
- <!--htdig_noindex-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="066585.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
- </A></li>
- <LI>Next message: <A HREF="066596.html">[whatwg] Thread to run Web Socket feedback from the protocol ?
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#66588">[ date ]</a>
- <a href="thread.html#66588">[ thread ]</a>
- <a href="subject.html#66588">[ subject ]</a>
- <a href="author.html#66588">[ 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>