W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > March 2011

[Bug 12211] WebSocket open method

From: <bugzilla@jessica.w3.org>
Date: Thu, 24 Mar 2011 20:12:14 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Q2qtC-0007Hu-Cf@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12211

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ian@hixie.ch
         Resolution|                            |WONTFIX

--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-03-24 20:12:14 UTC ---
The events are queued, so there's actually no problem with the event being sent
before the handler is set. So long as you set the handler in the same script
that creates the object, you are guaranteed to get every event even if they are
queued before the handler is set.

If you want a new connection, yes, create a new socket.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 24 March 2011 20:12:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 24 March 2011 20:12:40 GMT