This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Please make "open" method. what happened if connection establish before onopen property is set? How to reset socket without it? Only create new socket?
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.
Okey, thanks!
mass-moved component to LC1